Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| r [2018/05/31 14:35] – [SGE Script] admin | r [2018/06/08 07:36] (Version actuelle) – [Installed version] admin | ||
|---|---|---|---|
| Ligne 13: | Ligne 13: | ||
| $ module avail lang/r | $ module avail lang/r | ||
| + | </ | ||
| + | |||
| + | Use '' | ||
| + | <code bash> | ||
| + | $ module load lang/ | ||
| </ | </ | ||
| ====== Using R ====== | ====== Using R ====== | ||
| Ligne 44: | Ligne 49: | ||
| ===== Install Local R Packages ===== | ===== Install Local R Packages ===== | ||
| - | + | First we need to create a local folder in WORK directory: | |
| + | <code bash> | ||
| + | $ mkdir -p $WORK/ | ||
| + | </ | ||
| + | Second, we install package by giving the path to our local folder: | ||
| + | For example: | ||
| + | We start R session | ||
| + | <code bash> | ||
| + | $ R | ||
| + | </ | ||
| + | We change directory to '' | ||
| + | <code bash> | ||
| + | $cd $WORK | ||
| + | </ | ||
| + | And finally | ||
| + | <code bash> | ||
| + | install.packages(" | ||
| + | </ | ||