Using R

R is a free software environment for statistical computing and graphics. It is available as a command line application through modules on SeaWulf or as a GUI through Rstudio. 

Audience: Faculty, Researchers and Staff

This KB Article References:
This Information is Intended for: Faculty, Researchers, Staff
Last Updated: June 01, 2018

Accessing R

The command line interface to R is available through:

module load shared
module load R/3.3.2 
R

 

While a GUI application (rstudio) is available through:

module load shared
module load anaconda/3
source activate rstudio
rstudio

When using the GUI you must have X11 forwarding enabled. If you are connected through Windows you will need an additional X11 server, such as Xming


Installing R Packages

If you require the use of packages outside of those normally distributed with R, you can use the install.packages command in both R and rstudio. When doing so, make sure to install your packages to a location somewhere in your home directory:

module load shared
module load R

R

>install.packages("Package","/gpfs/home/NetID/R_packages")

Additional Information


There are no additional resources available for this article.

Getting Help


The Division of Information Technology provides support on all of our services. If you require assistance please submit a support ticket through the IT Service Management system.

Submit A Ticket

Supported By