No package called igraph0 R

…衆ロ難τιáo~ 提交于 2019-12-20 06:27:28

问题


I'm trying to use "gspan" algorithm using R. I installed and loaded igraph.

But when I call "gspan", I get this error:

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

Could any one give me a solution, thanks in advance.


回答1:


From the CRAN repo:

Package ‘igraph0’ was removed from the CRAN repository.

Formerly available versions can be obtained from the archive.

This was a transitional package from Mar 2012 to Sept 2013. Packages depending on it ought to have changed to igraph long ago.

Consider using package ‘igraph’ instead.

So this package is no longer available on the CRAN. I'd urge you to consider the suggestion and move to igraph instead.

So, just load the package as library(igraph) instead of library(igraph0). Since you mentioned you have already installed igraph, this should work.




回答2:


igraph0 package is deprecated.

Alternatively, you can get igraph0 from the archives.

And searching through this site may be helpful as well. For instance, check here: Package igraph0 deprecated and hence not able to access gspan package



来源:https://stackoverflow.com/questions/34722245/no-package-called-igraph0-r

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!