R安装程序包:ERROR: failed to lock directory ‘/usr/lib64/R/library’ for modifying
作者:互联网
ERROR: failed to lock directory ‘/usr/lib64/R/library’ for modifying
Try removing ‘/usr/lib64/R/library/00LOCK-stringi’
出现错误提示:
ERROR: failed to lock directory
原因:网络不好,以前安装的未成功,残留文件
解决:删除R目录下 lib64/R/library中的000lock文件夹
或者,安装时候用
install.packages("stringi", dependencies=TRUE, INSTALL_opts = c('--no-lock'))
REF
http://blog.sciencenet.cn/home.php?mod=space&uid=707141&do=blog&id=1205576
标签:lock,library,modifying,failed,usr,ERROR,lib64 来源: https://www.cnblogs.com/emanlee/p/13911925.html