Difference between revisions of "R on ALICE"
From ALICE Documentation
Line 8: | Line 8: | ||
You can obtain R in your environment by loading the R module i.e.: | You can obtain R in your environment by loading the R module i.e.: | ||
− | module load R | + | module load R/3.6.0-foss-2019a-Python-3.7.2 |
+ | or | ||
+ | module load R/3.6.2-fosscuda-2019b | ||
The command R --version returns the version of R you have loaded: | The command R --version returns the version of R you have loaded: | ||
− | R --version | + | R --version |
− | R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch" | + | R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch" |
− | Copyright (C) 2016 The R Foundation for Statistical Computing | + | Copyright (C) 2016 The R Foundation for Statistical Computing |
− | Platform: x86_64-pc-linux-gnu (64-bit) | + | Platform: x86_64-pc-linux-gnu (64-bit) |
The command which R returns the location where the R executable resides: | The command which R returns the location where the R executable resides: | ||
− | which R | + | which R |
− | / | + | /cm/shared/easybuild/software/R/3.6.0-foss-2019a/bin/R |
Revision as of 09:07, 29 June 2020
Running R from bacth scripts
R is a programming language and software environment for statistical computing and graphics.
The currently supported version is 3.6.0/3.6.2 (Centos7). 3.6.2 was built with the coda compilers. 3.6.0 was build using the standard GCC compiler.
load R in your environment?
You can obtain R in your environment by loading the R module i.e.:
module load R/3.6.0-foss-2019a-Python-3.7.2
or
module load R/3.6.2-fosscuda-2019b
The command R --version returns the version of R you have loaded:
R --version R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch" Copyright (C) 2016 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit)
The command which R returns the location where the R executable resides:
which R /cm/shared/easybuild/software/R/3.6.0-foss-2019a/bin/R