Minnesota Supercomputing Institute
4.2.2-gcc-8.2.0-vp7tyde
Monday, October 9, 2023
R is a language and environment for statistical computing and graphics. R provides a wide variety of statistical (linear and nonlinear modelling, classical statistical tests, time-series analysis, classification, clustering, ...) and graphical techniques, and is highly extensible. The S language is often the vehicle of choice for research in statistical methodology, and R provides an Open Source route to participation in that activity.
To run this software interactively in a Linux environment run the commands:
module load R R
Several versions of R are available, but the versions may be different on different platforms.To list all versions of R available on the machine, type
module avail R
We recommend that you install R packages in your home directory. It can be accomplished by typing the following in the R command prompt. You need to replace packagename with the actual package.
r <- getOption("repos"); r["CRAN"] <- "http://cran.rstudio.com/"; options(repos=r); install.packages("packagename");
Some packages need external libraries such as gcc, gsl, fftw etc. You can find the requirements in the package documentation. These packages have to be loaded by using 'module load' command before using R. If you still experience issues, please contact help@msi.umn.edu.
To run this software under Windows, connect using instruction provided in our Windows systems page. Once logged in, navigate to
Start > All Programs > R > R x64 $VERSION
$VERSION is the version number of the R installation. If you need to run long or memory-intensive jobs, use R on Linux instead. If you need more details, visit the official documentation.