R-pcluster

From Research Computing Center Wiki
Jump to navigation Jump to search

Category

Statistics

Program On

pcluster

Version

1.9.1, 2.1.1

Author / Distributor

See http://www.r-project.org/

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 pcluster

Example of usage

To run R in a batch queue:

Create a script (called runR.sh in this example) with the following lines:

Script filename (runR.sh):

#!/bin/csh
cd working_directory
time R CMD BATCH R_program_name

Submit this script runR.sh to a serial queue (e.g., using up to 24h of wallclock time):

pcluster> ugsub T1-i1-t1-24h runR.sh

Documentation

http://www.r-project.org/

Installation

  • Installed in /usr/local/bin/
  • Compiled without Lapack support.
  • Version 1.9.1 is installed in /usr/local/R-1.9.1/
  • Add-on packages fields, mcmc, and sna installed in /usr/local/R/lib/R/library/

System

Unix (AIX)