Ubuntu系统安装R的软件包一直出错

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
yueli711
帖子: 99
注册时间: 2013-05-28 23:34
系统: ubuntu
送出感谢: 0
接收感谢: 1 次

Ubuntu系统安装R的软件包一直出错

#1

帖子 yueli711 » 2021-06-11 22:07

各位大侠,

我在Ubuntu系统的Rstudio,每次安装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", ...)
参数没有用(checkBuilt = FALSE)

> 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   

  loaded via a namespace (and not attached):
[1] BiocManager_1.30.15 compiler_3.4.4      tools_3.4.4   
回复

回到 “系统安装和升级”