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个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问