Table of Contents

R versions

Docker

https://github.com/rocker-org/rocker provides GNU R version specific Docker containers.

Rhea

On Rhea (linux server), older R versions exist for legacy pipelines and scripts. For example, see /opt/ni_tools/R/R-4.4.1/bin and packages in /opt/ni_tools/Rlib/4.4.1 (created 2025-08-11 with bump to debian 13/“trixie”, R 4.5.1 “Great Square Root”).

In a shell script, you can update the PATH to force older R.

export PATH="/opt/ni_tools/R/R-4.4.1/bin:$PATH" # default to R 4.4.1

Or call explicitly.

/opt/ni_tools/R/R-4.4.1/bin/Rscript -e '
       .libPaths("/opt/ni_tools/Rlib/4.4.1");
       print(version$version.string);
       installed.packages()["dplyr",c("Built","Version","LibPath")]
[1] "R version 4.4.1 (2024-06-14)"
                      Built                     Version 
                    "4.4.1"                     "1.1.4" 
                    LibPath 
"/home/ni_tools/Rlib/4.4.1"