How to upgrade Rstudio on Linux Mint?

前端 未结 2 776
忘了有多久
忘了有多久 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: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).

提交回复
热议问题