

The terminal commands below assume you choose Step 2

Go to CRAN's list of mirrors and find the URL of the mirror that is closest to you. So, for completeness, these are all the steps you'd need to take: Step 1 I also typically use the approach here to deal with packages I've already installed when I upgrade R rather than the approach offered by FedRo. The link provided by FedRo is a good resource, however a slight change would need to be made since you're using Linux Mint 18.1 which uses Xenial repositories rather than Trusty repositories (see here).

Note: I now keep on GitHub ( here) an up-to-date guide to upgrading R on Linux Mint or Ubuntu Linux, which also includes a bit of extra information about system dependencies for tidyverse, the popular set of data-wrangling packages, as well as devtools, the popular R package development.
