如何修复安装路径不可写的警告错误?

时间:2019-05-17 02:28:34

标签: r bioconductor

我想在R 3.6.0上更新bioconductor 3.9版,但是我收到一条错误消息“安装路径不可写”

我已经在较旧版本的R 3.2.4中进行了相同的尝试,并且给了我同样的错误信息。

我想在这里进行更新,这就是我所拥有的

update.packages()
Warning: package 'boot' in library '/usr/lib/R/library' will not be updated
Warning: package 'MASS' in library '/usr/lib/R/library' will not be updated
Warning: package 'survival' in library '/usr/lib/R/library' will not be updated
cluster :
 Version 2.0.8 installed in /usr/lib/R/library 
 Version 2.0.9 available at https://cloud.r-project.org
Update? (Yes/no/cancel)
 y
The downloaded source packages are in
    ‘/tmp/RtmpzyzblW/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning messages:
1: In install.packages(update[instlib == l, "Package"], l, contriburl = contriburl,  :
  installation of package ‘cluster’ had non-zero exit status
2: In install.packages(update[instlib == l, "Package"], l, contriburl = contriburl,  :
  installation of package ‘nlme’ had non-zero exit status
>

0 个答案:

没有答案