Description

R is a language and environment for statistical computing and graphics. R provides a wide variety of statistical (examples include linear and nonlinear modeling, classical statistical tests, time-series analysis, classification, and clustering) and graphical techniques, and is highly extensible.
One of R’s strengths is the ease with which well-designed publication-quality plots can be produced, including mathematical symbols and formulae where needed.
Highlights: Free statistical package. Allows for the creation of publication-quality plots.

Availability

R is free software under the GNU project and is also available for Windows and macOS systems for free. If you wish to useĀ  R on the SCC, you can do so using modules as explained here.

If you have installed packages of your own in an older version of R and need to use them in a new version, you will need to upgrade them.

Using R

There is one user executable program called R.

To start an interactive session a terminal window, type:

scc1% module load R/4.0.2
scc1% R

To start RStudio:


scc1% module load rstudio
scc1% module load R/4.0.2
scc1% rstudio

Once started, you can see a list of demos by running the command demo() and run an individual command by doing demo(DEMO_NAME) where >DEMO_NAME is any of the demos listed after running demo()

You can exit R by typing:

> q()

Additional Help/Documentation

We have a R Frequently Asked Questions page that you may find very helpful. A number of R example scripts along with parallelization and optimization techniques and tutorial scripts can be found on our Online Code Examples webpage.

Links to manuals, information on downloading R, and a large number of additional materials are available on the R Project website.

We also have a set of tutorials on R which we generally offer live three times a year but for which the slides are always available.