R Updates: June 17, 2020


During the June maintenance, we will make changes to R which will affect how your R programs run on Rivanna. Below is a list of the changes and how they will affect your code.

1. The gcc-built versions of R will be updated to goolf-built versions.

Instead of loading gcc before loading R, you will need to load goolf or gcc openmpi. For example: module load goolf R/4.0.0.
Remember to update any Slurm scripts that have module load gcc R or module load gcc R/3.x.x.

2. The locations of the R libraries will be updated.

We are changing the locations of the R libraries (i.e., the folders where local packages are installed). This change will create separate folders for different compiler versions of R, which will prevent package corruption.
As a result, R will not see the packages that you had installed before the maintenance. (The only exception would be gcc openmpi R/4.0.0, which already uses the new library location). You will need to reinstall your R packages. To help with this effort, we are providing a script that will scrape the list of packages installed in an older library and will attempt to install these packages in the new library. Details are provided at “New Libraries”.

3. The versions of R will be streamlined to 3.4.4, 3.5.3, 3.6.3, and 4.0.0.

If you had hard-coded another version of R in your scripts (e.g., R/3.6.1), you will need to update your scripts to specify one of these newer versions.
To see what modules would need to be loaded prior to loading R, you can use the module spider command (e.g.,module spider R/3.6.3).