20 R安装包报错ERROR: failed to lock directory

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’


请先 登录 后评论

1 个回答

omicsgene - 生物信息
擅长:重测序,遗传进化,转录组,GWAS

解决办法增加--no-lock

R控制台安装

install.packages("stringi", dependencies=TRUE, INSTALL_opts = c('--no-lock'))

R命令行安装

R CMD INSTALL --no-lock <pkg>
请先 登录 后评论