Error in untar2(tarfile, files, list, exdir, restore_times) :
incomplete block on file
解决方法:
> if (!requireNamespace("BiocManager", quietly = TRUE))
+ install.packages("BiocManager")
> BiocManager::install("org.Hs.eg.db")
Bioconductor version 3.10 (BiocManager 1.30.19), R 3.6.3 (2020-02-29)
Installing package(s) 'org.Hs.eg.db'
installing the source package ‘org.Hs.eg.db’
试开URL’https://bioconductor.org/packages/3.10/data/annotation/src/contrib/org.Hs.eg.db_3.10.0.tar.gz'
Content type 'application/octet-stream' length 81813830 bytes (78.0 MB)
downloaded 34.0 MB
Error in untar2(tarfile, files, list, exdir, restore_times) :
incomplete block on file
The downloaded source packages are in
‘C:\Users\10444\AppData\Local\Temp\RtmpkbEMJe\downloaded_packages’
Installation paths not writeable, unable to update packages
path: C:/Program Files/R/R-3.6.3/library
packages:
boot, class, cluster, codetools, KernSmooth, lattice, MASS, Matrix,
mgcv, nlme, nnet, rpart, spatial, survival
Warning messages:
1: In download.file(url, destfile, method, mode = "wb", ...) :
downloaded length 35651584 != reported length 81813830
2: In install.packages(...) :
installation of package ‘org.Hs.eg.db’ had non-zero exit status
>