Question 1. Your R session
Using a [1] to write and save you R commands is a [2] practice. Using a text editor recognizing the R language offers the possibility of [3] of the functions, reserved words or brackets to help you writing your [4]. They can also offer an [5] of the names of your existing R objects or of the names of the functions and of their parameters.
For Windows, convenient R text editors are Tinn-R or Notepad ++ with Npptor for a connection to the R console. For MacOS you may use Komodo edit or EMACS which is more complicated to use. With Unix, I recommand Gedit or Geany, but if you like programming you may prefer vi or Emacs.
For Windows, MacOS and Linux, the most popular environment to work with R is [6]. It provides a comfortable environment which includes a text editor connected to an [7] console and two other panels to navigate in your R session environment and in your directories.The commands can be sent to the R [8], either one at a time, or several togetether. You may also use the function [9] to send all the command lines in your script to the R console.