Can you read the file via other R methods?
Eg. can you run
lines <- scan("ELX-context.gml", what=character(0))
If yes then could you please try it for other graphs as well?
The easiest to try would be
g <- graph.ring(10)
write.graph(g, file="test.gml", format="gml")
g2 <- read.graph("test.gml", format="gml")
If this works for you then could you please send me the graph you want to
read, or at least a minimal example graph which does not work
for you.
Thanks,
Gabor
On Mon, Jul 09, 2007 at 05:42:43PM +0900, MATSUDA, Noriyuki wrote:
Hello:
I encountered an error in read.graph on Mac
> read.graph("ELX-context.gml",format="gml")
Error in read.graph.gml(file, ...) : At rinterface.c:3380 :
Cannot read GML file, File operation error
The "ELX-context.gml" was created on a Window machine by my assistant and
sent to me by email-attachment. It was successfully imported into
Cytoscape.
--
MATSUDA, Noriyuki
_______________________________________________
igraph-help mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/igraph-help
--
Csardi Gabor <address@hidden> MTA RMKI, ELTE TTK
_______________________________________________
igraph-help mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/igraph-help