and in that file add
then, before of updating this, type at the terminal the following
now, we can do
, and now to install R
at the terminal type
Then, we need to star R or emacs, using sudo. At the terminal type , or call emacs in the terminal using sudo, as follows
then, we proceed to install the packages. For example
or multiple
packages
You can also try the following when the above do not work (here using the Hmisc as example) but directly from the terminal (nor in R)
where ``/path'' represents the directory where the tar.gz file is, or better inclusive can be just save that file in any folder, and open a terminal in that folder, then ``path'' is not needed in the previous syntax.
You can start an R session, without opening an .r file in Emacs, by opening Emacs, and then press M-x R
You parse parts of an R source file by the following commands ess-eval-line (C-c C-j) ess-eval-line-and-go (C-c M-j) ess-eval-funtion (C-c C-f) ess-eval-function-and-go (C-c M-f) ess-eval-region (C-c C-r) ess-eval-region-and-go (C-c M-r) ess-eval-buffer (C-c C-b) ess-eval-buffer-and-go (C-c M-b) (all the commands start with C-c, you do an -and-go by using the metakey).
Webmaster: Christian E. Salas Eljatib, E-mail: christian.salas@yale.edu