> * Gábor Csárdi <[email protected]> [2012-10-15 13:43:07 -0400]: > > On Mon, Oct 15, 2012 at 1:19 PM, Sam Steingold <[email protected]> wrote: > [...] >> Error in write.graph.dot(graph, file, ...) : >> At rinterface.c:4125 : Cannot write edgelist, File operation error >> >> IIRC, this is because write.graph does not support "~". >> Yes, I can open/close files manually, but this is quite ugly! > > Indeed. Here is a bug report for it: > https://bugs.launchpad.net/igraph/+bug/1066986 > > The thing is this is OSX specific, because it does not have fmemopen > and open_memstream in its libc.
I see the error on linux. > A workaround is to prefix your file name with "file://" and then > igraph uses a temporary file to create your file, and the final file > is created via an R function that expands '~': This works, thanks! -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://thereligionofpeace.com http://www.memritv.org http://iris.org.il http://dhimmi.com http://pmw.org.il http://jihadwatch.org Whom computers would destroy, they must first drive mad. _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
