Actions

Difference between revisions of "R"

From Montana Tech High Performance Computing

(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...")
 
Line 1: Line 1:
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:
+
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 <code>/opt/R/R-3.3.3</code>. To access it:
  
 
: <code>module load R/3.3.3</code>
 
: <code>module load R/3.3.3</code>

Revision as of 10:47, 18 September 2017

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