Update home authored by Fabian Stenzel's avatar Fabian Stenzel
......@@ -5,18 +5,19 @@ setup inspired by http://micha-dietze.de/pages/r_courses/2019/R_course_egu_2019.
# HowTo
## install Rpackage from package file
## either - install Rpackage from package file
- choose the appropriate version of the package which you either built on your own (see above) or take from the "package" folder
- in RStudio either: Packages - Install - Install from: "Package Archive File" or enter
`install.packages("path2lpjmliotools.tar.gz", repos = NULL, type = "source")`
## or clone git into LOCALFOLDER
## or use devtools (recommended)
- clone git into LOCALFOLDER
`git clone git@gitlab.pik-potsdam.de:stenzel/lpjmliotools.git LOCALFOLDER`
## start R console (on the cluster you need to load an R module first)
- start R console (on the cluster you need to load an R module first)
`R`
## load devtools package and install from source
- load devtools package and install from source
```
library(devtools)
devtools::install("LOCALFOLDER")
......
......