Why does apt-get install r-base install 3.2.3 instead of 3.4.0 in R?

后端 未结 1 1996
我在风中等你
我在风中等你 2021-02-08 13:06

I am trying to install the latest version of R (3.4.0) due to some incompatibility issues with dowloading of a package called \"Slam\". I have downloaded the tar.gz file of 3.4.

1条回答
  •  情书的邮戳
    2021-02-08 13:17

    you need to install from the CRAN repos not the ubuntu ones. add the key, then the repository, update and the apt-get

    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
    
    sudo add-apt-repository 'deb [arch=amd64,i386] https://cran.rstudio.com/bin/linux/ubuntu xenial/'
    
    sudo apt-get update
    
    sudo apt-get install r-base
    

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