Installing packages on Microsoft R Open fails

后端 未结 1 893
一向
一向 2021-01-20 16:03

I\'ve never had any issues installing packages on R, but I always have issues installing packages on Microsoft R Open. For example, I attempted to install tidyverse. I recei

相关标签:
1条回答
  • 2021-01-20 16:22

    These errors told you that you didn't have necessary tools (make, gcc) for building R packages in Linux

    libs sh: 1: make: not found 
    ...
    no acceptable C compiler found in $PATH
    

    You will need to install r-base-dev to get those

    sudo apt-get install r-base-dev
    

    See more:

    • https://cran.r-project.org/bin/linux/ubuntu/README.html
    • https://packages.debian.org/sid/r-base-dev
    • R package installation in Linux
    0 讨论(0)
提交回复
热议问题