[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] plot: edges cross vertexes
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] plot: edges cross vertexes |
Date: |
Mon, 15 Oct 2012 13:43:07 -0400 |
On Mon, Oct 15, 2012 at 1:19 PM, Sam Steingold <address@hidden> 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. 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 '~':
g <- graph.ring(10)
write.graph(g, file="file://~/test.txt", format="edgelist")
Gabor
[...]
--
Gabor Csardi <address@hidden> MTA KFKI RMKI
- [igraph] plot: edges cross vertexes, Sam Steingold, 2012/10/12
- Re: [igraph] plot: edges cross vertexes, Tamás Nepusz, 2012/10/13
- Re: [igraph] plot: edges cross vertexes, Sam Steingold, 2012/10/14
- Re: [igraph] plot: edges cross vertexes, Gábor Csárdi, 2012/10/14
- Re: [igraph] plot: edges cross vertexes, Sam Steingold, 2012/10/15
- Re: [igraph] plot: edges cross vertexes, Gábor Csárdi, 2012/10/15
- Re: [igraph] plot: edges cross vertexes, Sam Steingold, 2012/10/15
- Re: [igraph] plot: edges cross vertexes,
Gábor Csárdi <=
- Re: [igraph] plot: edges cross vertexes, Sam Steingold, 2012/10/15
- Re: [igraph] plot: edges cross vertexes, 凌琛, 2012/10/15
- Re: [igraph] plot: edges cross vertexes, Sam Steingold, 2012/10/16
- Re: [igraph] plot: edges cross vertexes, Gábor Csárdi, 2012/10/16
- Re: [igraph] plot: edges cross vertexes, Sam Steingold, 2012/10/17
- Re: [igraph] plot: edges cross vertexes, Gábor Csárdi, 2012/10/17
- Re: [igraph] plot: edges cross vertexes, Sam Steingold, 2012/10/17
- Re: [igraph] plot: edges cross vertexes, Gábor Csárdi, 2012/10/17
- Re: [igraph] plot: edges cross vertexes, Sam Steingold, 2012/10/17
Re: [igraph] plot: edges cross vertexes, Sam Steingold, 2012/10/18