[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] plot: edges cross vertexes

From: Sam Steingold
Subject: Re: [igraph] plot: edges cross vertexes
Date: Mon, 15 Oct 2012 13:50:50 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

> * Gábor Csárdi <address@hidden> [2012-10-15 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.

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]