installed directory not writable, cannot update packages 'boot', 'class', 'KernSmooth', 'mgcv', 'nnet', 'rpart', 'spatial'

前端 未结 3 604
醉话见心
醉话见心 2021-01-02 10:35

I installed the Bioconductor packages on R version 3.1.2 on Ubuntu 14.04 and received the message below:

The downloaded source packages are in ‘/t

3条回答
  •  北荒
    北荒 (楼主)
    2021-01-02 11:06

    I faced the same problem working in R-studio. The solution is to give root access to R.

    In Windows, that means you need to run the program as an Administrator.

    In Unix/Linux, you should launch R from the terminal by doing sudo R.

    Then, once you're running with sufficient privileges, you can try installing your package and it should work.

提交回复
热议问题