About HPC Systems Software User Guides Education Partners

  / gears / hpc / software / statistics / r


Bioinformatics

Compilers and Programming Tools

Computational Chemistry

File System

Finite Element Solvers

Graphics and Imaging

Mathematics

Numerical Libraries

Optimization

Parallel Programming Libraries and Tools

Queuing and Scheduling Systems

Solid Modeling

Statistics

R

Overview

R is 'GNU S' - A language and environment for statistical computing and graphics. R is simlar to the award-winning S system. It provides a wide variety of statistical and graphical techniques, including linear and nonlinear modelling, statistical tests, time series analysis, classification, clustering, and more.

Setup

No setup is needed to use this software package.

Usage

R can be invoked using the command R.

Examples

On LION-XEand LION-XL R is intended to be run non-interactively using an input file containing the R commands to run. If R.in was the input file and R.out was the file that the output should go to, the following PBS script could be used:

#PBS -l nodes=1:ppn=1
#PBS -l walltime=2:00:00
#PBS -j oe

# change the current working directory to the directory where
# the input file R.in can be found
cd /home/foo/R

# run the R command reading from R.in and writing to R.out
R --no-restore --no-save < R.in > R.out

Further information on PBS scripts and submitting PBS jobs can be found in the User Guides section of the HPC website for systems using PBS.

Documentation

Documentation for R can be found in the directory /usr/lib/R/doc. To view the information in HTML format, the following command could be used:

lynx /usr/lib/R/doc/manual/R-intro.html

Man pages are also available for R.


Please send questions or suggestions about this web page to beatnic@aset.psu.edu

ASET | ITS | Penn State