Changes
Page history
Update home
authored
May 08, 2023
by
Fabian Stenzel
Show whitespace changes
Inline
Side-by-side
home.md
View page @
37b7eeae
...
@@ -5,18 +5,19 @@ setup inspired by http://micha-dietze.de/pages/r_courses/2019/R_course_egu_2019.
...
@@ -5,18 +5,19 @@ setup inspired by http://micha-dietze.de/pages/r_courses/2019/R_course_egu_2019.
# HowTo
# 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
-
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
-
in RStudio either: Packages - Install - Install from: "Package Archive File" or enter
`install.packages("path2lpjmliotools.tar.gz", repos = NULL, type = "source")`
`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`
`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`
`R`
##
load devtools package and install from source
-
load devtools package and install from source
```
```
library(devtools)
library(devtools)
devtools::install("LOCALFOLDER")
devtools::install("LOCALFOLDER")
...
...
...
...