Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
doku:r-project [2016/10/14 06:10] – markus | doku: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 ' | + | - Create a .Renviron file, using ' |
- | < | + | |
vi ${HOME}/ | vi ${HOME}/ | ||
- | </ | + | </ |
- | The content of this file points to the directory of your personal libraries, e.g.: | + | |
- | + | ||
- | < | + | |
R_LIBS=${HOME}/ | R_LIBS=${HOME}/ | ||
+ | </ | ||
+ | - create the directory, which was specified in .Renviron: < | ||
+ | mkdir -p ${HOME}/ | ||
+ | - start R and install packages: < | ||
+ | install.packages(' | ||
</ | </ | ||