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:13] 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.:<code>+  Create a .Renviron file, using 'vi' e.g.:<code>
 vi ${HOME}/.Renviron  vi ${HOME}/.Renviron 
 </code>The content of this file points to the directory of your personal libraries, e.g.:<code> </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> </code>
-  create the directory, which was specified in .Renviron: <code>+  create the directory, which was specified in .Renviron: <code>
 mkdir -p ${HOME}/R/lib </code> mkdir -p ${HOME}/R/lib </code>
 +  - start R and install packages: <code>
 +install.packages('sp')
 +</code>
  
  • doku/r-project.1476425611.txt.gz
  • Last modified: 2016/10/14 06:13
  • by markus