“Non Zero Exit Status” R 3.6.0 “Biobase”

不打扰是莪最后的温柔 提交于 2019-12-13 11:34:59

问题


I need to install different packages on R. The OS is ubuntu for windows. When I try "BiocManager::install("Biobase") I get the following error:

** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
mv: cannot move '/home/mark/R/x86_64-pc-linux-gnu-library/3.6/00LOCK-Biobase/00new/Biobase' to '/home/mark/R/x86_64-pc-linux-gnu-library/3.6/Biobase': Permission denied
ERROR:   moving to final location failed

There seems to be something wrong with the permission to move certain files.. I already tried giving permission to write for everyone into the /3.6 directory, This didn't change anything.

Any solutions?


回答1:


Apparently, this is a new feature in 3.6. But this should solve your problem:

Sys.setenv(R_INSTALL_STAGED = FALSE)



来源:https://stackoverflow.com/questions/56241007/non-zero-exit-status-r-3-6-0-biobase

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!