R can be used for a wide range of statistical computing and graphing.
PACE offers both 'GNU-R' and a commercial version, 'revolution-R'. Revolution-R can provide significantly increased performance by parallelization of loops and some R-functions, and it uses tuned BLAS libraries. Note that you need to include Revolution-R to your PATH to use it. As a quick (and dirty!) way, just run the the following in your terminal:
touch ~/.bashrc echo "PATH=$PATH:/usr/local/packages/R42rev/bin/>> ~/.bashrc source ~/.bashrc
From now on, we will refer to both R and revolution-R as 'R'.
R provides both interactive and batch usage. For interactive run using PBS, please refer to the related section in the PACE user's guide. Once PBS logs you into one of the compute nodes, you can invoke R as usual.
For batch mode, you need to include the following line to your PBS script:
/usr/local/packages/R42rev/bin/Revo64 CMD BATCH --slave ./your_R_code.R screen_output.txt
Here, CMD BATCH puts R into batch mode. The --slave flag is recommended, since it prevents excessive screen dumb in the output file.