Quickly Install R on Ubuntu 16.04

R
Linux
Ubuntu
Install R on Ubuntu the fast way and without missing dependencies.
Author

Mauricio “Pachá” Vargas S.

Published

October 3, 2017

Updated 2022-05-28: Updated links.

Motivation

On a previous post I explained how to install R and Python on OS X without further complications.

Now here are the equivalent steps on Ubuntu. The presented script also installs Java and common packages as I wrote this for a fresh install.

What do you need to do this?

Administrator (sudo) access to be able to install packages.

How do you do this?

This script will install everything.