Difference between revisions of "R"
From Montana Tech High Performance Computing
Line 1: | Line 1: | ||
− | The R package for statistical computing and graphics is installed on the system. Version 3. | + | The R package for statistical computing and graphics is installed on the system. Version 3.4.3 installed from source code is available and installed in <code>/opt/R/R-3.4.3</code>. To access it: |
− | : <code>module load R/3. | + | : <code>module load R/3.4.3</code> |
An example job script, might look something like: | An example job script, might look something like: | ||
− | : <code style=display:block>#!/bin/sh<br>#PBS -l nodes=1:ppn=32<br>#PBS -N PingJob<br>#PBS -m e<br>#PBS -M username@mtech.edu<br>#PBS -l walltime=00:01:00<br><br>cd $PBS_O_WORKDIR<br>module load R/3. | + | : <code style=display:block>#!/bin/sh<br>#PBS -l nodes=1:ppn=32<br>#PBS -N PingJob<br>#PBS -m e<br>#PBS -M username@mtech.edu<br>#PBS -l walltime=00:01:00<br><br>cd $PBS_O_WORKDIR<br>module load R/3.4.3<br>R < parLapply_test.R > parLapply_test.output --no-save</code> |
Revision as of 15:02, 12 December 2017
The R package for statistical computing and graphics is installed on the system. Version 3.4.3 installed from source code is available and installed in /opt/R/R-3.4.3
. To access it:
-
module load R/3.4.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.4.3
R < parLapply_test.R > parLapply_test.output --no-save