Rgraphviz不再适用于R吗? [重复]

时间:2022-03-09 16:55:05

This question already has an answer here:

这个问题在这里已有答案:

I am running R version 3.0.1 in a 64 bit OS, and I have tried to install Rgraphviz 3 different ways:

我在64位操作系统中运行R版本3.0.1,我尝试以不同的方式安装Rgraphviz 3:

1) I have used install.packages(Rgraphviz), but I get the error

1)我使用了install.packages(Rgraphviz),但是我收到了错误

Error in install.packages(Rgraphviz) : object 'Rgraphviz' not found

install.packages(Rgraphviz)出错:找不到对象'Rgraphviz'

2) I have tried going through Packages > Install Packages in the R window, but I cannot find Rgraphviz

2)我试过在R窗口中浏览Packages> Install Packages,但我找不到Rgraphviz

3) When I go through CRAN, at http://cran.r-project.org/web/packages/Rgraphviz/index.html, I get the message "Package ‘Rgraphviz’ was removed from the CRAN repository."

3)当我浏览CRAN时,在http://cran.r-project.org/web/packages/Rgraphviz/index.html,我收到消息“Package'Rgraphviz'已从CRAN存储库中删除。”

Does anyone know if there is any way I can get Rgraphviz, or if there is a suitable alternate?

有没有人知道我是否有办法获得Rgraphviz,或者是否有合适的备用?

2 个解决方案

#1


50  

You need to install it directly from the bioconductors site.

您需要直接从bioconductors站点安装它。

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

More info can be found here.

更多信息可以在这里找到。

#2


-2  

You just need to remember that the instruction install.packages requires you to enclose the package name between quotes, like this:

您只需要记住install.packages指令要求您将包名称括在引号之间,如下所示:

install.packages("Rgraphviz")

#1


50  

You need to install it directly from the bioconductors site.

您需要直接从bioconductors站点安装它。

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

More info can be found here.

更多信息可以在这里找到。

#2


-2  

You just need to remember that the instruction install.packages requires you to enclose the package name between quotes, like this:

您只需要记住install.packages指令要求您将包名称括在引号之间,如下所示:

install.packages("Rgraphviz")