FAQs
Why can't my R package be installed?
Luria has multiple versions of R available through the environment modules system. Sometimes, R packages install normally. However, other times there may be incompatibilities between the versions of R installed on Luria and the R package you're trying to install or a dependency that an R package needs is not installed on Luria.
In cases like this, you'll likely to need to use R installed some other way. There are two ways: using a Singularity image with R built-in, or installing R in a Conda environment. The first way is preferable.
Using R from Singularity
The Rocker project creates OCI images that come pre-installed with R. Each image is geared toward a specific use-case. The r-ver
images can be used for when you only need the R command line. The rest of the images come pre-installed with RStudio. If you want to run RStudio, not just the R command line, refer to the following page.
To use one of these images, follow these instructions on Luria:
Using R in Conda
R is available as a package in the conda-forge channel. You can create a Conda environment, then install R into this environment.
Last updated