We will need a little more details, e.g. the exact igraph version, and also a file that reproduces this, because it works fine for me:
g <- graph.ring(10) write.graph(g, "/tmp/g.gml", format="gml") g2 <- read.graph("/tmp/g.gml", format="gml")
(Apart form some warnings about attributes.)
We will need a little more details, e.g. the exact igraph version, and also a file that reproduces this, because it works fine for me:
g <- graph.ring(10) "/tmp/g. gml", format="gml")
write.graph(g, "/tmp/g.gml", format="gml")
g2 <- read.graph(
(Apart form some warnings about attributes.)