dxy logo
首页丁香园病例库全部版块
搜索
登录

没入门的小白求助R软件安装不了bioconductor

血液科医师 · 最后编辑于 2022-10-09 · IP 浙江浙江
1.4 万 浏览
这个帖子发布于 9 年零 91 天前,其中的信息可能已发生改变或有所发展。

根据 bioconductor官网  The current release of Bioconductor is version 3.2; it works with R version 3.2.2. Users of older R and Bioconductor versions must update their installation to take advantage of new features.

我选择了 3.2.2版本的R软件 准备安装bioconductor 然而每次我输入source("http://bioconductor.org/biocLite.R")和biocLite("ShortRead")后,

BioC_mirror: http://bioconductor.org

Using Bioconductor 3.2 (BiocInstaller 1.20.1), R 3.2.2 (2015-08-14).

Installing package(s) ‘ShortRead’

Warning: dependencies ‘hwriter’, ‘latticeExtra’ are not available

also installing the dependencies ‘bitops’, ‘SummarizedExperiment’, ‘Biostrings’, ‘Rsamtools’, ‘GenomicAlignments’, ‘Biobase’, ‘IRanges’, ‘GenomeInfoDb’, ‘GenomicRanges’, ‘zlibbioc’, ‘XVector’


Warning: unable to access index for repository http://cran.rstudio.com/bin/windows/contrib/3.2

Package which is only available in source form, and may need

  compilation of C/C++/Fortran: ‘bitops’

  These will not be installed

试开URL’http://bioconductor.org/packages/3.2/bioc/bin/windows/contrib/3.2/SummarizedExperiment_1.0.2.zip'

Content type 'application/zip' length 2629971 bytes (2.5 MB)

downloaded 616 KB


试开URL’http://bioconductor.org/packages/3.2/bioc/bin/windows/contrib/3.2/Biostrings_2.38.4.zip'

Error in download.file(url, destfile, method, mode = "wb", ...) : 

  无法打开URL'http://bioconductor.org/packages/3.2/bioc/bin/windows/contrib/3.2/Biostrings_2.38.4.zip'

此外: Warning messages:

1: In readLines(fcon, 1L) : InternetOpenUrl失败:’操作超时'

2: In download.file(url, destfile, method, mode = "wb", ...) :

  downloaded length 630784 != reported length 2629971

3: In download.file(url, destfile, method, mode = "wb", ...) :

  InternetOpenUrl失败:’操作超时'

Warning in download.packages(pkgs, destdir = tmpd, available = available,  :

  download of package ‘Biostrings’ failed

试开URL’http://bioconductor.org/packages/3.2/bioc/bin/windows/contrib/3.2/Rsamtools_1.22.0.zip'

Content type 'application/zip' length 8197969 bytes (7.8 MB)

downloaded 360 KB


试开URL’http://bioconductor.org/packages/3.2/bioc/bin/windows/contrib/3.2/GenomicAlignments_1.6.3.zip'

Error in download.file(url, destfile, method, mode = "wb", ...) : 

  无法打开URL'http://bioconductor.org/packages/3.2/bioc/bin/windows/contrib/3.2/GenomicAlignments_1.6.3.zip'

此外: Warning messages:

1: In download.file(url, destfile, method, mode = "wb", ...) :

  downloaded length 368640 != reported length 8197969

2: In download.file(url, destfile, method, mode = "wb", ...) :

  InternetOpenUrl失败:’操作超时'

Warning in download.packages(pkgs, destdir = tmpd, available = available,  :

  download of package ‘GenomicAlignments’ failed

试开URL’http://bioconductor.org/packages/3.2/bioc/bin/windows/contrib/3.2/Biobase_2.30.0.zip'

Content type 'application/zip' length 4227858 bytes (4.0 MB)

downloaded 4096 bytes


试开URL’http://bioconductor.org/packages/3.2/bioc/bin/windows/contrib/3.2/IRanges_2.4.8.zip'

Content type 'application/zip' length 3087641 bytes (2.9 MB)

downloaded 12 KB


试开URL’http://bioconductor.org/packages/3.2/bioc/bin/windows/contrib/3.2/GenomeInfoDb_1.6.3.zip'

Content type 'application/zip' length 39105815 bytes (37.3 MB)

downloaded 684 KB


试开URL’http://bioconductor.org/packages/3.2/bioc/bin/windows/contrib/3.2/GenomicRanges_1.22.4.zip'

Content type 'application/zip' length 3028535 bytes (2.9 MB)

downloaded 16 KB


试开URL’http://bioconductor.org/packages/3.2/bioc/bin/windows/contrib/3.2/zlibbioc_1.16.0.zip'

Content type 'application/zip' length 693613 bytes (677 KB)

downloaded 677 KB


试开URL’http://bioconductor.org/packages/3.2/bioc/bin/windows/contrib/3.2/XVector_0.10.0.zip'

Content type 'application/zip' length 749339 bytes (731 KB)

downloaded 731 KB


试开URL’http://bioconductor.org/packages/3.2/bioc/bin/windows/contrib/3.2/ShortRead_1.28.0.zip'

Content type 'application/zip' length 8822356 bytes (8.4 MB)

downloaded 8.4 MB


Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) : 

  无法打开链结

此外: Warning messages:

1: In download.file(url, destfile, method, mode = "wb", ...) :

  downloaded length 4096 != reported length 4227858

2: In download.file(url, destfile, method, mode = "wb", ...) :

  downloaded length 12288 != reported length 3087641

3: In download.file(url, destfile, method, mode = "wb", ...) :

  downloaded length 700416 != reported length 39105815

4: In download.file(url, destfile, method, mode = "wb", ...) :

  downloaded length 16384 != reported length 3028535

5: In unzip(zipname, exdir = dest) : 从zip文件中抽取1时出了错

6: In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :

  无法打开压缩文件'SummarizedExperiment/DESCRIPTION',可能是因为'No such file or directory'


出现的问题是有几个需要安装的内容无法完全下载  比如2.9MB    实际却只下载了16KB  而且最后会提示Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) : 

请问这个报错的原因是什么 求大神指点迷津

全部讨论(0)

默认最新
avatar
8
分享帖子
share-weibo分享到微博
share-weibo分享到微信
认证
返回顶部