How to upgrade (not install new) R-studio on Linux Mint 17.2 Rafaela?
These commands are correct?
sudo gedit /etc/apt/sources.list
sudo apt-get updat
The R version in the default system repositories is a few minors behind. You have to make it explicit that you want to get R from a more up-to-date source.
You should add the following line:
deb https://cloud.r-project.org/bin/linux/ubuntu trusty/
to the file /etc/apt/sources.list
, as described at https://cran.r-project.org/bin/linux/ubuntu/#installation.
(trusty
is the nickname of the ubuntu version Mint 17 is based on (Ubuntu 14.04 Trusty Tahr))
Then sudo apt-get update && sudo apt-get install r-base-dev
at the command line should update R to the current version (3.4 as of today).