R-Teaching
Category
Statistics
Program On
Teaching
Version
3.4.4
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 3.4.4
R version 3.4.4 is installed in /usr/local/apps/eb/R/3.4.4-foss-2016b-X11-20160819-GACRC/ and add-on packages are installed in /usr/local/apps/eb/R/3.4.4-foss-2016b-X11-20160819-GACRC/lib64/R/library
To use this version of R, please first load the module with
module load R/3.4.4-foss-2016b-X11-20160819-GACRC
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/3.4.4-foss-2016b-X11-20160819-GACRC
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 3.4.4 is installed in /usr/local/apps/eb/R/3.4.4-foss-2016b-X11-20160819-GACRC/ and add-on packages are installed in /usr/local/apps/eb/R/3.4.4-foss-2016b-X11-20160819-GACRC/lib64/R/library
System
64-bit Linux