拥有水的鱼 2019-10-10 21:29 采纳率: 0%
浏览 1508

R包安装package "methods" in options("defaultPackages") was not found ?

安装R包时出现下面的问题,哪位大神可以指点一二?

> BiocManager::install("KEGG.db",ask = F,update = F)
Bioconductor version 3.9 (BiocManager 1.30.4), R 3.6.1 (2019-07-05)
Installing package(s) 'KEGG.db'
installing the source package ‘KEGG.db’

trying URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.9/data/annotation/src/contrib/KEGG.db_3.2.3.tar.gz'
Content type 'application/gzip' length 1976342 bytes (1.9 MB)
downloaded 1.9 MB

* installing *source* package 'KEGG.db' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'KEGG.db'
    finding HTML links ... 好了
    KEGGBASE                                html  
    KEGGENZYMEID2GO                         html  
    KEGGEXTID2PATHID                        html  
    KEGGGO2ENZYMEID                         html  
    KEGGMAPCOUNTS                           html  
    KEGGPATHID2EXTID                        html  
    KEGGPATHID2NAME                         html  
    KEGGPATHNAME2ID                         html  
    KEGG_dbconn                             html  
** building package indices
** testing if installed package can be loaded from temporary location
*** arch - i386
Warning message:
package "methods" in options("defaultPackages") was not found 
在启动过程中 - Warning messages:
1: package 'utils' in options("defaultPackages") was not found 
2: package 'grDevices' in options("defaultPackages") was not found 
3: package 'graphics' in options("defaultPackages") was not found 
4: package 'stats' in options("defaultPackages") was not found 
5: package 'methods' in options("defaultPackages") was not found 
Error in library.dynam(lib, package, package.lib) : 
  没有这个DLL 'tools':是不是没有为此架构安装?
Calls: ::: ... asNamespace -> getNamespace -> loadNamespace -> library.dynam
停止执行
*** arch - x64
ERROR: loading failed for 'i386'
* removing 'C:/Program Files/R/R-3.6.1/library/KEGG.db'

The downloaded source packages are in
    ‘C:\Users\Administrator.SC-201907281012\AppData\Local\Temp\RtmpiG0vqg\downloaded_packages’
Warning message:
In install.packages(pkgs = doing, lib = lib, repos = repos, ...) :
  installation of package ‘KEGG.db’ had non-zero exit status
  • 写回答

1条回答

  • zqbnqsdsmd 2019-10-14 10:04
    关注
    评论

报告相同问题?

悬赏问题

  • ¥15 安装svn网络有问题怎么办
  • ¥15 Python爬取指定微博话题下的内容,保存为txt
  • ¥15 vue2登录调用后端接口如何实现
  • ¥65 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥15 latex怎么处理论文引理引用参考文献