User Tools

Site Tools


Installation of R packages in the user home

Users can have their own R packages installed. The following steps have to be done:

  1. Create a .Renviron file, using 'vi' e.g.:
    vi ${HOME}/.Renviron 

    The content of this file points to the directory of your personal libraries, e.g.:

  2. create the directory, which was specified in .Renviron:
    mkdir -p ${HOME}/R/lib 
  3. start R and install packages:
doku/r-project.txt · Last modified: 2016/10/14 06:15 by markus