Installing R 3.5.0 with --enable-R-shlib

后端 未结 1 1966
甜味超标
甜味超标 2020-12-03 23:41

I am trying to install R 3.5.0 from source with the flag --enable-R-shlib under Linux Mint. Configuring and installing it without the flag works fine, but RStudio requires t

相关标签:
1条回答
  • 2020-12-03 23:49

    After adding these PPAs for Ubuntu, I was able to update R to 3.5.0 for my Linux Mint 17.3 Rosa.

    sudo add-apt-repository ppa:marutter/rrutter3.5
    sudo add-apt-repository ppa:marutter/c2d4u
    sudo apt-get update
    

    Ref: https://cran.r-project.org/bin/linux/ubuntu/

    Edit: To compile from source, follow the suggestion here

    sudo apt-get update
    sudo apt-get build-dep r-base
    wget https://cran.r-project.org/src/base/R-3/R-3.5.0.tar.gz
    tar -xvf R-3.5.0.tar.gz
    cd R-3.5.0
    ./configure --enable-R-shlib
    make
    
    0 讨论(0)
提交回复
热议问题