【问题标题】:Install R package fgsea: Error in download.file安装 R 包 fgsea:download.file 中的错误
【发布时间】:2021-08-28 10:13:47
【问题描述】:

我想安装 R 包。每次出来:

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

我不知道,有什么建议吗?

> BiocManager::install("fgsea")
'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details

replacement repositories:
    CRAN: https://cloud.r-project.org

Bioconductor version 3.6 (BiocManager 1.30.15), R 3.4.4 (2018-03-15)
Installing package(s) 'BiocVersion', 'fgsea'
also installing the dependencies ‘formatR’, ‘lambda.r’, ‘futile.options’, ‘futile.logger’, ‘snow’, ‘BiocParallel’

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


> sessionInfo()
R version 3.4.4 (2018-03-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.1 LTS

Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0

locale:
 [1] LC_CTYPE=zh_CN.UTF-8       LC_NUMERIC=C               LC_TIME=zh_CN.UTF-8        LC_COLLATE=zh_CN.UTF-8    
 [5] LC_MONETARY=zh_CN.UTF-8    LC_MESSAGES=zh_CN.UTF-8    LC_PAPER=zh_CN.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=zh_CN.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

在我国开栈溢出非常困难。我尝试在命令中提供正确答案,但无法打开。

所以正确答案是:

sudo gedit /etc/apt/sources.list

更改对应Ubuntu 20.04.1的“焦点”

sudo apt-get update sudo apt-get upgrade

【问题讨论】:

标签: r package bioconductor


【解决方案1】:

所以正确答案是:

sudo gedit /etc/apt/sources.list

更改对应Ubuntu 20.04.1的“焦点”

sudo apt-get update

sudo apt-get upgrade

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-03-04
    • 1970-01-01
    • 1970-01-01
    • 2015-02-28
    • 2018-04-24
    • 2019-03-26
    • 2021-10-14
    相关资源
    最近更新 更多