没有包名为igraph0 R.

时间:2016-01-11 13:02:47

标签: r igraph

我正在尝试使用R使用“gspan”算法。我安装并加载了igraph

但是当我打电话给“gspan”时,我收到了这个错误:

>  results = subdue(graph1);
Error in library(igraph0) : there is no package called ‘igraph0’

任何人都可以提前给我一个解决方案。

2 个答案:

答案 0 :(得分:0)

来自the CRAN repo

  

包'igraph0'已从CRAN存储库中删除。

     

以前可用的版本可以从archive获得。

     

这是从2012年3月到2013年9月的过渡性套餐。依赖它的套餐应该很久以前就已经改为igraph。

     

考虑使用包'igraph'代替。

因此CRAN上不再提供此软件包。我建议你考虑一下这个建议,转而转到library(igraph)

因此,只需将包加载为library(igraph0)而不是igraph。既然你提到你已经安装了{{1}},这应该可行。

答案 1 :(得分:0)

igraph0包已弃用。

或者,您可以从archives获得igraph0。

搜索此网站可能也会有所帮助。例如,请点击此处:Package igraph0 deprecated and hence not able to access gspan package

相关问题