cc_staff
311
edits
(Marked this version for translation) |
m (Update R version to 3.6.0) |
||
Line 16: | Line 16: | ||
You can load a particular R module using a command like | You can load a particular R module using a command like | ||
{{Command | {{Command | ||
|module load r/3. | |module load gcc/7.3.0 r/3.6.0 | ||
}} | }} | ||
For more on this see [[Utiliser des modules/en|Using modules.]] | For more on this see [[Utiliser des modules/en|Using modules.]] | ||
Line 79: | Line 79: | ||
#SBATCH --mem-per-cpu=2000M # memory; default unit is megabytes | #SBATCH --mem-per-cpu=2000M # memory; default unit is megabytes | ||
#SBATCH --time=0-00:15 # time (DD-HH:MM) | #SBATCH --time=0-00:15 # time (DD-HH:MM) | ||
module load r/3. | module load gcc/7.3.0 r/3.6.0 # Adjust version and add the gcc module used for installing packages. | ||
Rscript computation.R | Rscript computation.R | ||
Line 333: | Line 333: | ||
<!--T:55--> | <!--T:55--> | ||
module load r/3. | module load gcc/7.3.0 r/3.6.0 | ||
export R_LIBS=~/local/R_libs/ | export R_LIBS=~/local/R_libs/ | ||
R CMD BATCH --no-save --no-restore test_foreach.R | R CMD BATCH --no-save --no-restore test_foreach.R | ||
Line 402: | Line 402: | ||
<!--T:63--> | <!--T:63--> | ||
module load r/3. | module load gcc/7.3.0 r/3.6.0 | ||
<!--T:64--> | <!--T:64--> |