.onLoad failed in loadNamespace() for 'org.Hs.eg.db'
1
0
Entering edit mode
dsp35 • 0
@dsp35-14365
Last seen 7.0 years ago

I would like to install the package org.Hs.eg.db version 3.5 in R 3.4.0 and Bioconductor 3.6 (BiocInstaller 1.28.0). I have tried to install the package version 3.4.1, and also tried to use R.3.4.2. The error is always the same, as follows. Any help would be greatly appreciated!

> biocLite("org.Hs.eg.db")
BioC_mirror: https://bioconductor.org
Using Bioconductor 3.6 (BiocInstaller 1.28.0), R 3.4.0 (2017-04-21).
Installing package(s) ‘org.Hs.eg.db’
installing the source package ‘org.Hs.eg.db’

trying URL 'https://bioconductor.org/packages/3.6/data/annotation/src/contrib/org.Hs.eg.db_3.5.0.tar.gz'
Content type 'application/x-gzip' length 75219292 bytes (71.7 MB)
downloaded 71.7 MB

CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.
* installing *source* package 'org.Hs.eg.db' ...
** R
** inst
** preparing package for lazy loading
Warning: package 'AnnotationDbi' was built under R version 3.4.2
Warning: package 'BiocGenerics' was built under R version 3.4.2
Warning: package 'Biobase' was built under R version 3.4.2
Warning: package 'IRanges' was built under R version 3.4.2
Warning: package 'S4Vectors' was built under R version 3.4.2
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
Warning: package 'AnnotationDbi' was built under R version 3.4.2
Warning: package 'BiocGenerics' was built under R version 3.4.2
Warning: package 'Biobase' was built under R version 3.4.2
Warning: package 'IRanges' was built under R version 3.4.2
Warning: package 'S4Vectors' was built under R version 3.4.2
Error: package or namespace load failed for 'org.Hs.eg.db':
 .onLoad failed in loadNamespace() for 'org.Hs.eg.db', details:
  call: dbFileConnect(dbfile)
  error: DB file '' not found
Error: loading failed
Execution halted
*** arch - x64
Warning: package 'AnnotationDbi' was built under R version 3.4.2
Warning: package 'BiocGenerics' was built under R version 3.4.2
Warning: package 'Biobase' was built under R version 3.4.2
Warning: package 'IRanges' was built under R version 3.4.2
Warning: package 'S4Vectors' was built under R version 3.4.2
Error: package or namespace load failed for 'org.Hs.eg.db':
 .onLoad failed in loadNamespace() for 'org.Hs.eg.db', details:
  call: dbFileConnect(dbfile)
  error: DB file '' not found
Error: loading failed
Execution halted
ERROR: loading failed for 'i386', 'x64'

Here is my SessionInfo():

> sessionInfo()
R version 3.4.0 (2017-04-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 14393)

Matrix products: default

locale:
[1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United Kingdom.1252    LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C                           
[5] LC_TIME=English_United Kingdom.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] BiocInstaller_1.28.0

loaded via a namespace (and not attached):
[1] compiler_3.4.0 tools_3.4.0
org.Hs.eg.db loadNamespace .onLoad dbFileConnect(dbfile) • 2.6k views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 8 minutes ago
United States

This usually comes up when you are trying to use a network directory for your library path. That's not (IMO) usually worth the effort, so the quick fix is to set your .libPaths to somewhere on your computer's hard drive. An alternative might be to map the directory share to a drive path, like Z:, but like I said, usually not worth the effort...
 

ADD COMMENT
0
Entering edit mode

Thank you, James! I was actually not intending to use a network directory. How can I set the .libPaths when installing the library from Bioconductor in this case? Thanks so much for your help!

ADD REPLY
0
Entering edit mode

Have you looked at the help page for .libPaths? It's pretty comprehensive.

ADD REPLY

Login before adding your answer.

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