R-Teaching: Difference between revisions
(Created page with "Category:TeachingCategory:SoftwareCategory:Statistics === Category === Statistics === Program On === Teaching === Version === 3.4.4 ===Author / Distributor=== Se...") |
No edit summary |
||
Line 5: | Line 5: | ||
Teaching | Teaching | ||
=== Version === | === Version === | ||
4.0.0 | |||
===Author / Distributor=== | ===Author / Distributor=== | ||
See http://www.r-project.org/ | See http://www.r-project.org/ | ||
Line 16: | Line 16: | ||
'''R version | '''R version 4.0.0''' | ||
R version | R version 4.0.0 is installed in /apps/eb/R/4.0.0-foss-2019b and add-on packages are installed in /apps/eb/R/4.0.0-foss-2019b/lib64/R/library | ||
To use this version of R, please first load the module with | To use this version of R, please first load the module with | ||
<pre class="gscript"> | <pre class="gscript"> | ||
module load R/ | module load R/4.0.0-foss-2019b | ||
</pre> | </pre> | ||
Please note that when you load this R module, many other modules will be loaded as R depends on those other libraries and packages. | Please note that when you load this R module, many other modules will be loaded as R depends on those other libraries and packages. | ||
Line 42: | Line 42: | ||
cd $SLURM_SUBMIT_DIR<br> | cd $SLURM_SUBMIT_DIR<br> | ||
ml R/ | ml R/4.0.0-foss-2019b<br> | ||
R CMD BATCH <u>program.R</u><br> | R CMD BATCH <u>program.R</u><br> | ||
</div> | </div> | ||
Line 60: | Line 60: | ||
Please see http://www.r-project.org/ | Please see http://www.r-project.org/ | ||
=== Installation === | === Installation === | ||
* Version | * Version 4.0.0 is installed in /apps/eb/R/4.0.0-foss-2019b/ and add-on packages are installed in /apps/eb/R/4.0.0-foss-2019b/lib64/R/library | ||
=== System === | === System === | ||
64-bit Linux | 64-bit Linux |
Revision as of 20:25, 27 August 2020
Category
Statistics
Program On
Teaching
Version
4.0.0
Author / Distributor
Description
R is a language and environment for statistical computing and graphics. It provides a wide variety of statistical (linear and nonlinear modeling, classical statistical tests, time-series analysis, classification, clustering, ...) and graphical techniques.
Running Program
Also refer to Running Jobs on the teaching cluster
R version 4.0.0
R version 4.0.0 is installed in /apps/eb/R/4.0.0-foss-2019b and add-on packages are installed in /apps/eb/R/4.0.0-foss-2019b/lib64/R/library
To use this version of R, please first load the module with
module load R/4.0.0-foss-2019b
Please note that when you load this R module, many other modules will be loaded as R depends on those other libraries and packages.
Here is an example of a shell script, sub.sh, to run on the batch queue:
#!/bin/bash
#SBATCH --job-name=j_R
#SBATCH --partition=batch
#SBATCH --mail-type=ALL
#SBATCH --mail-user=username@uga.edu
#SBATCH --ntasks=1
#SBATCH --mem=10gb
#SBATCH --time=08:00:00
#SBATCH --output=R.%j.out
#SBATCH --error=R.%j.err
cd $SLURM_SUBMIT_DIR
ml R/4.0.0-foss-2019b
R CMD BATCH program.R
In the real submission script, at least all the above underlined values need to be reviewed or to be replaced by the proper values.
Please refer to Running_Jobs_on_the_teaching_cluster, Run X window Jobs and Run interactive Jobs for more details of running jobs at Teaching cluster.
Here is an example of job submission command:
sbatch ./sub.sh
Documentation
Please see http://www.r-project.org/
Installation
- Version 4.0.0 is installed in /apps/eb/R/4.0.0-foss-2019b/ and add-on packages are installed in /apps/eb/R/4.0.0-foss-2019b/lib64/R/library
System
64-bit Linux