“非零退出状态" R 3.6.0 “Biobase" [英] “Non Zero Exit Status” R 3.6.0 "Biobase"

查看:47
本文介绍了“非零退出状态" R 3.6.0 “Biobase"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在 R 上安装不同的软件包.操作系统是 windows 的 ubuntu.当我尝试 "BiocManager::install("Biobase") 时,出现以下错误:

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

移动某些文件的权限似乎有问题.我已经尝试授予每个人写入/3.6 目录的权限,这没有任何改变.

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.

有什么解决办法吗?

推荐答案

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

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

Sys.setenv(R_INSTALL_STAGED = FALSE)

这篇关于“非零退出状态" R 3.6.0 “Biobase"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆