[BioC] Rgraphviz: how to read a \"dot\" file?
Kasper Daniel Hansen
khansen at jhsph.edu
Tue Oct 16 21:19:15 CEST 2012
I got the files, thanks. I can confirm the crash, but I also get
> tmp = agread("country-graph.dot", layout = FALSE)
> tmp
[1] "A graph with 0 nodes."
(it crashes with layout=TRUE, presumably because it thinks there are
zero nodes).
I also get a crash when I used command-line dot from Graphviz 2.28.0.
I'll look some more, but my guess still stands: it is an invalid dot file.
Kasper
On Tue, Oct 16, 2012 at 12:41 PM, Sam Steingold <sds at gnu.org> wrote:
>> * Kasper Daniel Hansen <xunafra at wufcu.rqh> [2012-10-16 11:23:35 -0400]:
>>
>>> 2. when I manually expand the path, it segfaults:
>>>
>>> *** caught segfault ***
>>> address 0x18, cause 'memory not mapped'
>>>
>>> Traceback:
>>> 1: graphLayout(g)
>>> 2: agread("/home/sds/xgraph/share-click/2012-10-09/country-graph.dot")
>>
>> Can you send me the dot file? The segfault probably comes from
>> Graphviz, suggesting that igraph has produced an invalid file. It
>> would of course be nice for us to catch the exception, but I am not
>> sure I have resources to fix this.
>
> I attached the file to the message you are replying to, but, apparently,
> bioconductor stripped it.
> Here you go again:
>
>
> PS. I CCed the message to the igraph mailing list to ensure that they
> are in the loop.
>
> --
> Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
> http://www.childpsy.net/ http://ffii.org http://openvotingconsortium.org
> http://iris.org.il http://www.memritv.org http://honestreporting.com
> I don't like cats! -- Come on, you just don't know how to cook them!
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
More information about the Bioconductor
mailing list