Actions

R

From Montana Tech High Performance Computing

Revision as of 10:47, 18 September 2017 by Bdeng (talk | contribs) (Created page with "The R package for statistical computing and graphics is installed on the system. Version 3.3.3 installed from source code is available and installed in /opt/R/R-3.3.3. To acce...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The R package for statistical computing and graphics is installed on the system. Version 3.3.3 installed from source code is available and installed in /opt/R/R-3.3.3. To access it:

module load R/3.3.3

An example job script, might look something like:

#!/bin/sh
#PBS -l nodes=1:ppn=32
#PBS -N PingJob
#PBS -m e
#PBS -M username@mtech.edu
#PBS -l walltime=00:01:00

cd $PBS_O_WORKDIR
module load R/3.3.3
R < parLapply_test.R > parLapply_test.output --no-save