简体   繁体   English

错误:软件包“ BiocGenerics”的延迟加载失败

[英]ERROR: lazy loading failed for package ‘BiocGenerics’

I am trying to install this package "BiocGenerics" in R and getting this error. 我正在尝试在R中安装此软件包“ BiocGenerics”,并收到此错误。

BioC_mirror: https://bioconductor.org Using Bioconductor 3.6 (BiocInstaller 1.28.0), R 3.4.2 (2017-09-28). BioC_mirror: https ://bioconductor.org使用Bioconductor 3.6(BiocInstaller 1.28.0),R 3.4.2(2017-09-28)。 Installing package(s) 'BiocGenerics' trying URL ' https://bioconductor.org/packages/3.6/bioc/src/contrib/BiocGenerics_0.24.0.tar.gz ' Content type 'application/x-gzip' length 43393 bytes (42 KB) ================================================== downloaded 42 KB 安装包(S) 'BiocGenerics'试图URL ' https://bioconductor.org/packages/3.6/bioc/src/contrib/BiocGenerics_0.24.0.tar.gz '内容类型'应用程序/ x-gzip的'长度43393个字节( 42 KB)================================================ ===下载42 KB

  • installing source package 'BiocGenerics' ... ** R ** inst ** preparing package for lazy loading Creating a new generic function for 'append' in package 'BiocGenerics' Creating a new generic function for 'as.data.frame' in package 'BiocGenerics' Creating a new generic function for 'cbind' in package 'BiocGenerics' Error : identical(as.call(parse(text = old_code)[[1L]]), body[[7L]][[3L]]) is not TRUE Error in apply_hotfix73465(getGeneric("cbind")) : hotfix failed for generic function cbind() Error : unable to load R code in package 'BiocGenerics' ERROR: lazy loading failed for package 'BiocGenerics' 安装源程序包'BiocGenerics'... ** R ** inst **为延迟加载准备程序包在程序包'BiocGenerics'中为'append'创建新的通用函数在以下程序中为'as.data.frame'创建新的通用函数软件包'BiocGenerics'在软件包'BiocGenerics'中为'cbind'创建新的泛型函数错误:相同(as.call(parse(text = old_code)[[1L]]),body [[7L]] [[3L]] )不是TRUE apply_hotfix73465(getGeneric(“ cbind”))中的错误:泛型函数cbind()的修复程序失败错误:无法在程序包'BiocGenerics'中加载R代码错误:程序包'BiocGenerics'的延迟加载失败
  • removing '/home/hamna/R/x86_64-pc-linux-gnu-library/3.4/BiocGenerics' 删除'/home/hamna/R/x86_64-pc-linux-gnu-library/3.4/BiocGenerics'

The downloaded source packages are in '/tmp/RtmprEuKCy/downloaded_packages' installation path not writeable, unable to update packages: BiocGenerics, littler, cluster, foreign, MASS, Matrix, mgcv, nlme, rpart, survival Warning message: In install.packages(pkgs = doing, lib = lib, ...) : installation of package 'BiocGenerics' had non-zero exit status 下载的源软件包位于'/ tmp / RtmprEuKCy / downloaded_pa​​ckages'的安装路径中,不可写,无法更新软件包:BiocGenerics,littler,cluster,external,MASS,Matrix,mgcv,nlme,rpart,surviving警告消息:在install.packages中(pkgs =正在执行,lib = lib,...):安装软件包“ BiocGenerics”的退出状态为非零

I have tried installing it manually but it is failing. 我尝试手动安装它,但是失败了。 And then I tried this command on terminal 然后我在终端上尝试了这个命令

sudo apt-get install r-bioc-biocgenerics 须藤apt-get install r-bioc-biocgenerics

This helped me but it installed older version which is not valid for my final package "hgu133plus2.db" 这对我有帮助,但是它安装了较旧的版本,该版本对我的最终软件包“ hgu133plus2.db”无效

Please help! 请帮忙! Best, 最好,

This was answered on the Bioconductor support site. 在Bioconductor支持站点上对此进行了回答

There is an issue with R version 3.4.2 which required a patch. R版本3.4.2有一个问题,需要修补程序。 The best solution is to upgrade to at least 3.4.3. 最好的解决方案是至少升级到3.4.3。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM