Error in installing
Entering edit mode
chao-1993 • 0
Last seen 2.0 years ago

I am getting following error in WIN10 R

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

Content type 'application/x-gzip' length 79959831 bytes (76.3 MB)
downloaded 76.3 MB

* installing *source* package '' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ''
    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 '':
 .onLoad failed in loadNamespace() for '', details:
  call: NULL
  error: Failed to load extension: 找不到指定的模块。

错误: 载入失败
ERROR: loading failed
* removing 'C:/Users/孙超/Documents/R/win-library/4.0/'

The downloaded source packages are in
Installation path not writeable, unable to update packages: MASS, mgcv, nlme, survival
Warning message:
In install.packages(...) :
  installation of package ‘’ had non-zero exit status
software error win10 • 680 views
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

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.


Login before adding your answer.

Traffic: 230 users visited in the last hour
Help About
Access RSS

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

Powered by the version 2.3.6