R¶
About R¶
R is a free programming language and software environment for statistical computing and graphics. One of its appeals is the very large library of user-created packages that is available along with the ease of installing and using them. RStudio, a separate program that provides an interactive development environment (IDE) for R is also available and that can be run from Open OnDemand. We also install a couple of collections of libraries and make those available as loadable modules for your convenience. See below for details.
Using R¶
To make R available in your session, you can use
$ module load R
$ module spider R
and all available R modules will be returned to you. You may load a
specific version by including the version number on the module load
command. For example, to load the R module for version 4.1.0
, you
would enter the following command:
$ module load R/4.1.0
We also provide several modules that include supplemental sets of R
packages (also called libraries, which we will use interchangeably)
preinstalled. Those are installed by the ARC software group and
updated periodically. These include Rtidyverse
, which includes the
tidyverse collection of packages; Rgeospatial
, which includes many
packages useful for geospatial analyses; and Rmpi
, which includes
packages necessary for R to work with MPI.
Rtidyverse¶
The tidyverse is very popular collection
of R packages designed for data science. With the dependencies it
requires be installed, tidyverse adds up to several hundred R
libraries. For convenience, we install the tidyverse packages and make
those available via an Rtidyverse
module on most systems, where the
version is that of the underlying R used; so Rtidyverse/4.0.3
is R
4.0.3 with the collection of tidyverse libraries preinstalled.
Rgeospatial¶
This is all about Rgeospatial.
Rmpi¶
This is all about Rmpi.