Hi Martin, the thing I would try first is eliminating the '~' character from the file name, that sometimes does not work on a Mac, I am not sure why. Please let me know if the problem still persists.
Thanks, Gabor On Wed, Sep 12, 2012 at 7:29 PM, Martin J Reed <[email protected]> wrote: > Hi, > > I have a problem with graph read.graph() in a Mac (but the same code R and > igraph version in Windows does work). > > In a Mac I have: > > read.graph("~/tmp/simple.graphml",format="graphml") > Error in read.graph.graphml(file, ...) : > At rinterface.c:4962 : Cannot open GraphML file, File operation error > > Under Windows it reads it in OK. > > I am running Mac MountainLion, R 2.15.1, igraph 0.6.2 > > Tested on a sample graphml file from > > http://graphml.graphdrawing.org/primer/simple.graphml > > and it seems to happen for any graphml (or gml) file that I try. > > Looking back through the list it seems there was a problem in the past with > encoding so I converted to utf-8 but it does not help. > > I am trying to avoid loading a debugger and hope that someone else has come > across this… > > Martin Reed > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help > -- Gabor Csardi <[email protected]> MTA KFKI RMKI _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
