我需要在R上安装其他软件包。该操作系统对于Windows是ubuntu。当我尝试“ BiocManager :: install(“ Biobase”)时,出现以下错误:

** 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


移动某些文件的权限似乎出了点问题。.我已经尝试授予将所有人的权限写入/3.6目录的权限,这没有做任何更改。

有什么办法吗?

最佳答案

显然,这是3.6中的新功能。但这应该可以解决您的问题:

Sys.setenv(R_INSTALL_STAGED = FALSE)

关于r - “非零退出状态” R 3.6.0“生物碱”,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/56241007/

10-09 09:24