Error in installing org.Hs.eg.db
0
0
Entering edit mode
chao-1993 • 0
@chao-1993-24167
Last seen 3.6 years ago

I am getting following error in WIN10 R

> if (!requireNamespace("BiocManager", quietly = TRUE))
+   install.packages("BiocManager")
> 
> BiocManager::install("org.Hs.eg.db")
Bioconductor version 3.11 (BiocManager 1.30.10), R 4.0.2 (2020-06-22)
Installing package(s) 'org.Hs.eg.db'
installing the source package ‘org.Hs.eg.db’

试开URL’https://bioconductor.org/packages/3.11/data/annotation/src/contrib/org.Hs.eg.db_3.11.4.tar.gz'
Content type 'application/x-gzip' length 79959831 bytes (76.3 MB)
downloaded 76.3 MB

* installing *source* package 'org.Hs.eg.db' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'org.Hs.eg.db'
    finding HTML links ... 好了
    org.Hs.egACCNUM                         html  
    org.Hs.egALIAS2EG                       html  
    org.Hs.egBASE                           html  
    org.Hs.egCHR                            html  
    org.Hs.egCHRLENGTHS                     html  
    org.Hs.egCHRLOC                         html  
    org.Hs.egENSEMBL                        html  
    org.Hs.egENSEMBLPROT                    html  
    org.Hs.egENSEMBLTRANS                   html  
    org.Hs.egENZYME                         html  
    org.Hs.egGENENAME                       html  
    org.Hs.egGO                             html  
    org.Hs.egMAP                            html  
    org.Hs.egMAPCOUNTS                      html  
    org.Hs.egOMIM                           html  
    org.Hs.egORGANISM                       html  
    org.Hs.egPATH                           html  
    org.Hs.egPFAM                           html  
    org.Hs.egPMID                           html  
    org.Hs.egPROSITE                        html  
    org.Hs.egREFSEQ                         html  
    org.Hs.egSYMBOL                         html  
    org.Hs.egUCSCKG                         html  
    org.Hs.egUNIGENE                        html  
    org.Hs.egUNIPROT                        html  
    org.Hs.eg_dbconn                        html  
** building package indices
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for 'org.Hs.eg.db':
 .onLoad failed in loadNamespace() for 'org.Hs.eg.db', details:
  call: NULL
  error: Failed to load extension: 找不到指定的模块。

错误: 载入失败
停止执行
ERROR: loading failed
* removing 'C:/Users/孙超/Documents/R/win-library/4.0/org.Hs.eg.db'

The downloaded source packages are in
    ‘C:\Users\孙超\AppData\Local\Temp\RtmpQHn0Wd\downloaded_packages’
Installation path not writeable, unable to update packages: MASS, mgcv, nlme, survival
Warning message:
In install.packages(...) :
  installation of package ‘org.Hs.eg.db’ had non-zero exit status
software error org.Hs.eg.db win10 • 1.4k views
ADD COMMENT
0
Entering edit mode

You don't seem to have the rights to write on that folder. Probably you should contact the administrator or the IT department

ADD REPLY
0
Entering edit mode

I think the user name with non-ASCII characters, and temporary directory, is causing problems. The temporary directory can be solved with an environment variable TMPDIR pointing to some other location.

ADD REPLY

Login before adding your answer.

Traffic: 702 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6