graph软件包不再在CRAN上使用。我发现它已经转移到了生物导体
生物导体图
但实际上,如果我试图运行他们建议运行的命令
install.packages("BiocInstaller")
source("http://bioconductor.org/biocLite.R")
biocLite("graph")我得到的错误是,即使是BiocInstaller也不能用于最新的R版本3.4.2
如何安装这个软件包?
发布于 2017-11-02 12:25:07
看看这是否有效:
首先,从http://www.bioconductor.org/packages/release/bioc/html/graph.html下载zip文件
第二,在本地安装软件包:
install.packages("yourpath/graph_1.56.0.zip",repos=NULL)然后,library(graph)将加载包。您将收到警告消息,该包是在R的不同版本下创建的,但它可能会以这种方式工作。
发布于 2018-11-26 02:42:29
参见http://www.bioconductor.org/packages/release/bioc/html/graph.html的说明
安装 若要安装此软件包,请启动R(版本为"3.5")并输入:
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("graph", version = "3.8")发布于 2018-12-30 15:37:16
不要使用以下命令:install.packages("BiocInstaller")
此页面横穿半导体版本到R版本https://www.bioconductor.org/about/release-announcements/
> Release R
> 3.7, 3.8 3.5
> 3.5, 3.6 3.4
> 3.3, 3.4 3.3对于R3.4.2,您需要生物导体3.6 https://www.bioconductor.org/packages/3.6/bioc/html/graph.html
source("https://bioconductor.org/biocLite.R")
biocLite("graph")https://stackoverflow.com/questions/47073836
复制相似问题