warning when installing "AnnotationDbi"
0
0
Entering edit mode
2.1 years ago
songqy9 • 0

When I try to install "org.Hs.eg.db", a warning appeared.

However, the "AnnotationDbi" and "DBI" have been installed and loaded into the R

Error: package 'AnnotationDbi' required by 'org.Hs.eg.db' could not be found
Execution halted
ERROR: lazy loading failed for package 'org.Hs.eg.db'
* removing 'C:/Users/doly/AppData/Local/R/win-library/4.2/org.Hs.eg.db'
Warning in install.packages :
安装程序包‘D:/RMANNU~1/org.Hs.eg.db_3.16.0.tar.gz’时退出狀態的值不是0

enter image description here

My R information are the following:

R version 4.2.2 (2022-10-31 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22000)

I have no idea to solve this problem.

AnnotationDbi • 937 views
ADD COMMENT
1
Entering edit mode

Are you using BiocManager::install()?

ADD REPLY
0
Entering edit mode

I tried to used BiocManager::install to solve the problem, but it failed. However the problem has been solved, the warning appeared because I change the default download pathway of packages. Before installing "org.Hs.eg.db", "AnnotationDbi" should be installed at the target download directory of "org.Hs.eg.db". Else the "org.Hs.eg.db" could not find "AnnotationDbi". Sorry for my carelessness.

ADD REPLY

Login before adding your answer.

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