How to upgrade Rstudio on Linux Mint?

前端 未结 2 759
忘了有多久
忘了有多久 2021-01-16 04:50

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         


        
相关标签:
2条回答
  • 2021-01-16 05:08

    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.

    0 讨论(0)
  • 2021-01-16 05:25

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

    0 讨论(0)
提交回复
热议问题