Package igraph0 deprecated and hence not able to access gspan package

后端 未结 1 1614
悲&欢浪女
悲&欢浪女 2021-01-20 19:07

Hi am trying some examples from the book: Practical Graph mining with R for subgraph mining:

library(subgraphMining)
library(igraph)

graph1 = graph.ring(5)
         


        
相关标签:
1条回答
  • 2021-01-20 19:21

    igraph0 is not updated to igraph so you shouldn't do that. The key difference between igraph0 and igraph (apart from the fact that igraph0 is way outdated) is that igraph0 uses 0-based vertex and edge indices, while igraph uses 1-based indices. Simply using igraph in place of igraph0 won't work because packages depending on igraph0 expect vertex indices to start at zero.

    The only sensible solution is to ask the maintainers of packages that still depend on igraph0 to upgrade to igraph. Alternatively, you can get igraph0 from the archives.

    0 讨论(0)
提交回复
热议问题