Reading graphs using igraph in R

Hongtao Hao / 2020-08-21


You can read the official documentation on read_graph() here for more info. Be sure to put the file name in between quotation marks. For example:

library(igraph)
read_graph("lesmiss.gml", format = "gml")

For more information on how to read local files, refer to this post.

Last modified on 2020-08-24