Michael Kubovy <[EMAIL PROTECTED]> writes:
> Works perfectly!
>
> Except:
>
> library(Rgraphviz)
> set.seed(123)
> V <- letters[1:10]
> M <- 1:4
> g1 <- randomGraph(V, M, .2)
> plot(g1, "neato")
>
> Crashes R:
>
> *** caught bus error ***
> address 0x0, cause 'invalid alignment'
Hmm, I suspect your are getting caught by having more than one version
of graphviz installed on your system. Here are a few things to try...
In R, do:
rglibs <- system.file("libs/Rgraphviz.so", package="Rgraphviz")
system(paste("otool -L", rglibs))
This will only work, I suspect, if you have the Xcode tools installed
already, but it should tell you which version of graphviz, your
Rgraphviz is linked against.
+ seth
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac