No package called igraph0 R

后端 未结 2 1999
长发绾君心
长发绾君心 2021-01-26 18:54

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

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

>  results =          


        
2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-26 19:14

    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.

提交回复
热议问题