Oktu
Oktu

Reputation: 197

How to upgrade Rstudio on Linux Mint?

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 update
sudo apt-get install r-base.

Upvotes: 2

Views: 6544

Answers (2)

MichaelChirico
MichaelChirico

Reputation: 34763

On Linux Mint 17.3, I personally just use the link from the RStudio website whenever I want to update:

https://www.rstudio.com/products/rstudio/download/

I use the .deb link for Ubuntu/64 bit (Mint is built over Ubuntu).

The commands you are trying to run suggest you're trying to upgrade R, not RStudio (an IDE for programming in R)...

For upgrading R itself, I follow my own answer here, which is basically to grab a .deb file for R from the RStudio website here.

Upvotes: 2

Aurèle
Aurèle

Reputation: 12839

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).

Upvotes: 0

Related Questions