安装Bioconductor包

问题描述 投票:0回答:2

我在我的ubuntu上安装了R(3.4.0)。我想使用EdgeR包。我尝试按照Bioconductor网站上提供的安装说明安装Bioconductor软件包。

我在R中使用了以下命令:

    source("https://bioconductor.org/biocLite.R")
    biocLite()

但我收到以下错误:

    BioC_mirror: https://bioconductor.org
    Using Bioconductor 3.5 (BiocInstaller 1.26.0), R 3.4.0 (2017-04-21).
    installation path not writeable, unable to update packages: spatial

我是linux的新手,无法理解如何修复错误。

有没有人知道如何解决这个问题。

r ubuntu installation bioconductor
2个回答
0
投票

如果不支持https:// URL,您可以尝试http://

source("http://www.bioconductor.org/biocLite.R")
biocLite("edgeR")

0
投票

你也可以使用devtools

devtools::install_bioc("edgeR")
© www.soinside.com 2019 - 2024. All rights reserved.