R-pcluster: Difference between revisions

From Research Computing Center Wiki
Jump to navigation Jump to search
(Created page with "Category:ZclusterCategory:SoftwareCategory:Statistics === Category === Statistics === Program On === pcluster === Version === 1.9.1 (pcluster), 2.1.1 (pclu...")
 
No edit summary
Line 1: Line 1:
[[Category:Zcluster]][[Category:Software]][[Category:Statistics]]   
[[Category:Pcluster]][[Category:Software]][[Category:Statistics]]   
=== Category ===
=== Category ===


Line 10: Line 10:
=== Version ===
=== Version ===
   
   
1.9.1 (pcluster), 2.1.1 (pcluster), 2.4.0 (rcluster), 2.5.1 (rcluster), 2.7.0 (rcluster)
1.9.1, 2.1.1  
   
   
=== Author / Distributor ===
=== Author / Distributor ===
Line 24: Line 24:
Also refer to [[Running Jobs on pcluster]]
Also refer to [[Running Jobs on pcluster]]
   
   
Example of usage
'''Example of usage'''


To run R in a batch queue:
To run R in a batch queue:
Line 31: Line 31:


Script filename (runR.sh):
Script filename (runR.sh):
<pre class="gcommand">
<pre class="gscript">
#!/bin/csh
#!/bin/csh
cd working_directory
cd working_directory
Line 53: Line 53:


=== System ===
=== System ===
64-bit Linux
AIX

Revision as of 12:50, 13 February 2013

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

AIX