Skip to content

Instantly share code, notes, and snippets.

@plembo
Last active March 26, 2020 14:50
Show Gist options
  • Save plembo/7fd19078feb06c036dbb88fd1d83688b to your computer and use it in GitHub Desktop.
Save plembo/7fd19078feb06c036dbb88fd1d83688b to your computer and use it in GitHub Desktop.
Installing R on Ubuntu LTS

Installing R on Ubuntu LTS

The version of R that ships with Ubuntu 18.04 LTS (Bionic), 3.4.4, is perfectly fine for many projects.

But to get the latest R binaries and packages from CRAN (Comprehensive R Archive Network) without having to mess around with static binaries and source, you'll need to add their apt repo:

https://cloud.r-project.org/bin/linux/ubuntu/README.html

This repo does not include all the packages you might need, so CRAN recommends adding this PPA from Michael Rutter:

https://launchpad.net/~marutter/+archive/ubuntu/c2d4u3.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment