Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doku:r-project [2016/10/14 06:11] markusdoku:r-project [2016/10/14 06:15] (current) markus
Line 3: Line 3:
 Users can have their own R packages installed. The following steps have to be done: Users can have their own R packages installed. The following steps have to be done:
  
-=== Create a .Renviron file, using 'vi' e.g.: === +  - Create a .Renviron file, using 'vi' e.g.:<code>
-<code>+
 vi ${HOME}/.Renviron  vi ${HOME}/.Renviron 
-</code> +</code>The content of this file points to the directory of your personal libraries, e.g.:<code>
-The content of this file points to the directory of your personal libraries, e.g.: +
- +
-<code>+
 R_LIBS=${HOME}/R/lib R_LIBS=${HOME}/R/lib
 +</code>
 +  - create the directory, which was specified in .Renviron: <code>
 +mkdir -p ${HOME}/R/lib </code>
 +  - start R and install packages: <code>
 +install.packages('sp')
 </code> </code>
  
  • doku/r-project.1476425482.txt.gz
  • Last modified: 2016/10/14 06:11
  • by markus