Entering edit mode
ccklily
•
0
@ccklily-22064
Last seen 4.6 years ago
Hi,all I'm trying to install the package called org.Hs.eg.db for enrichment analysis, but I always met kinds of problems. The following is my recent one---package org.Hs.eg.db error.Can somebody provide a quick fix? Thanks!!
> if (!requireNamespace("BiocManager", quietly = TRUE))
+ install.packages("BiocManager")
>
> BiocManager::install("org.Hs.eg.db")
Bioconductor version 3.9 (BiocManager 1.30.4), R 3.6.1 (2019-07-05)
Installing package(s) 'org.Hs.eg.db'
installing the source package ‘org.Hs.eg.db’
trying URL 'https://bioconductor.org/packages/3.9/data/annotation/src/contrib/org.Hs.eg.db_3.8.2.tar.gz'
Content type 'application/x-gzip' length 74892843 bytes (71.4 MB)
downloaded 48.8 MB
Error in untar2(tarfile, files, list, exdir, restore_times) :
incomplete block on file
The downloaded source packages are in
‘C:\Users\lin56\AppData\Local\Temp\RtmpWYFAKr\downloaded_packages’
installation path not writeable, unable to update packages: boot, foreign, mgcv, nlme
Warning messages:
1: In download.file(url, destfile, method, mode = "wb", ...) :
downloaded length 51183616 != reported length 74892843
2: In install.packages(pkgs = doing, lib = lib, repos = repos, ...) :
installation of package ‘org.Hs.eg.db’ had non-zero exit status