This version (2022/06/20 09:01) was approved by msiegel.
This is an old revision of the document!
Installation of R packages in the user home
Users can have their own R packages installed. The following steps have to be done:
- 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.:
R_LIBS=${HOME}/R/lib
- create the directory, which was specified in .Renviron:
mkdir -p ${HOME}/R/lib
- start R and install packages:
install.packages('sp')