[R-SIG-Mac] Rgraphviz installation problem
Seth Falcon
sfalcon at fhcrc.org
Fri Aug 18 23:59:26 CEST 2006
Michael Kubovy <kubovy at virginia.edu> 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
More information about the R-SIG-Mac
mailing list