Skip to content

Rgraphviz neato layout crashes

2 messages · Julin Maloof, Kasper Daniel Hansen

#
Hello,

I am having a problem with Rgraphviz

When I try to plot a graph using the "neato" layout, R crashes with a bus error.  I am posting to this list because I can not reproduce this on a Windows machine.  (but I can reproduce it on multiple macs).

This crash can be reproduced just following the example at the beginning of the Rgraphviz vignette.  Has anyone else had this problem?  Any suggested solutions?

Thanks,

Julin

ps OS 10.4.6, Dual 2.5 G5, 4GB RAM.  Graphviz 2.8, compiled from source.  Rgraphviz 1.8, compiled from source.
pps crash happens both from R.app using quartz and from command line or EMACS using X11.
_                        
platform powerpc-apple-darwin7.9.0
arch     powerpc                  
os       darwin7.9.0              
system   powerpc, darwin7.9.0     
status                            
major    2                        
minor    2.1                      
year     2005                     
month    12                       
day      20                       
svn rev  36812                    
language R
Loading required package: graph
Loading required package: cluster
Loading required package: Ruuid
A graphNEL graph with undirected edges
Number of Nodes = 10 
Number of Edges = 16
Bus error
Kaweah:~ jmaloof$
#
What I am going to say is not really helpful :) When I tried  
installing graphviz some time ago (around Christmas) I had big  
problems getting it to work. In the end I settled for v2.7 (I guess  
that was before 2.8 came out, the odd numbers are devel versions). I  
remember some of my attempts actually compiled, Rgraphviz compiled  
but I was unable to plot like you are (although I do not remember if  
I used neato or something else). So I have encountered the problem of  
a crash even with successful installations of graphviz/Rgraphviz. I  
looked at my old config-log and the only thing (aside from mandirs  
and such) is --disable-codegens which - again as far as I recall -  
was there just to ensure compilation.

/Kasper
On Apr 20, 2006, at 5:27 PM, Julin Maloof wrote: