error in installation of 'org.Hs.eg.db'
0
0
Entering edit mode
Eliza • 0
@eliza-24309
Last seen 4.0 years ago

Enter the body of text here

Code should be placed in three backticks as shown below


# include your problematic code here with any corresponding output 
BiocManager::install('org.Hs.eg.db')
# please also include the results of running the following in an R session 
Bioconductor version 3.12 (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’

trying URL 'https://bioconductor.org/packages/3.12/data/annotation/src/contrib/org.Hs.eg.db_3.12.0.tar.gz'
Content type 'application/x-gzip' length 83225518 bytes (79.4 MB)
downloaded 79.4 MB

* installing *source* package 'org.Hs.eg.db' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error: unexpected string constant in:
"suppressPackageStartupMessages(.getRequiredPackages(quietly = TRUE))
tools:::makeLazyLoading("org.Hs.eg.db", '"
Execution halted
ERROR: lazy loading failed for package 'org.Hs.eg.db'
* removing 'C:/Users/Eliza's PC/Documents/R/win-library/4.0/org.Hs.eg.db'

The downloaded source packages are in
    ‘C:\Users\Eliza's PC\AppData\Local\Temp\RtmpMBsh5S\downloaded_packages’
Installation path not writeable, unable to update packages: codetools, KernSmooth, MASS, mgcv, nlme, survival
Old packages: 'xfun'
Update all/some/none? [a/s/n]: 

sessionInfo( )
proteomics GenomicSequence • 1.4k views
ADD COMMENT
1
Entering edit mode

Hello, what is the output of BiocManager::valid()?

The problem could also be the space and/or apostrophe in the installation path.

ADD REPLY
0
Entering edit mode

In addition to what Kevin asked, can you confirm you have write access to: C:/Users/Eliza's PC/Documents/R/win-library/4.0/

ADD REPLY

Login before adding your answer.

Traffic: 552 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