Hi,I am getting troubles in downloading org.Hs.eg.db package by R software type 4.0.0. The discriptions were displayed below. I wil be appreciated if you could answer me! Thanks a lot!
> #install 'DBI', "AnnotationDbi"packages
BiocManager::install(c('DBI', "AnnotationDbi"))
Bioconductor version 3.11 (BiocManager 1.30.10), R 4.0.0 (2020-04-24)
Installing package(s) 'DBI', 'AnnotationDbi'
试开URL’https://cran.rstudio.com/bin/windows/contrib/4.0/DBI_1.1.0.zip'
Content type 'application/zip' length 662734 bytes (647 KB)
downloaded 647 KB
试开URL’https://bioconductor.org/packages/3.11/bioc/bin/windows/contrib/4.0/AnnotationDbi_1.50.1.zip'
Content type 'application/zip' length 5250195 bytes (5.0 MB)
downloaded 5.0 MB
package ‘DBI’ successfully unpacked and MD5 sums checked
package ‘AnnotationDbi’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\Dr.liu\AppData\Local\Temp\Rtmp4IYCX4\downloaded_packages
Old packages: 'boot', 'class', 'foreign', 'KernSmooth', 'MASS', 'nlme', 'nnet', 'spatial', 'survival'
Update all/some/none? [a/s/n]:
n
#install "org.Hs.eg.db" package
> BiocManager::install("org.Hs.eg.db")
Bioconductor version 3.11 (BiocManager 1.30.10), R 4.0.0 (2020-04-24)
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 8.5 MB
Error in untar2(tarfile, files, list, exdir, restore_times) :
incomplete block on file
The downloaded source packages are in
‘C:\Users\Dr.liu\AppData\Local\Temp\Rtmp4IYCX4\downloaded_packages’
Old packages: 'boot', 'class', 'foreign', 'KernSmooth', 'MASS', 'nlme', 'nnet', 'spatial', 'survival'
Update all/some/none? [a/s/n]:
n
Warning messages:
1: In download.file(url, destfile, method, mode = "wb", ...) :
downloaded length 8908800 != reported length 79959831
2: In install.packages(...) :
installation of package ‘org.Hs.eg.db’ had non-zero exit status
Thank you for all the help,finally i installed the package successfully.Though,The reason remains unclear. I uninstalled all the relevant packages and downloaded relevant packages from the website.