Skip to main content

R

R is installed and kept up to date using the official R Ubuntu package repository which can be found at https://cloud.r-project.org/bin/linux/ubuntu/.

Packages are installed from the public RStudio CRAN repository which provides binary packages. This reduces the install time significantly. You can change the CRAN repository for a user by editing the .Rprofile file in their home directory.

# Default .Rprofile file located in the home directory
options(
repos = c(REPO_NAME = "https://packagemanager.rstudio.com/all/__linux__/focal/latest"),
)