ERROR: failed to lock directory ‘/home/huangls/biosoft/miniconda3/envs/rna-seq/lib/R/library’ for modifying
Try removing ‘/home/huangls/biosoft/miniconda3/envs/rna-seq/lib/R/library/00LOCK-stringi’
解决办法增加--no-lock
R控制台安装
install.packages("stringi", dependencies=TRUE, INSTALL_opts = c('--no-lock'))
R命令行安装
R CMD INSTALL --no-lock <pkg>
如果觉得我的回答对您有用,请随意打赏。你的支持将鼓励我继续创作!