Entering edit mode
Tae-Hoon Chung
▴
70
@tae-hoon-chung-2994
Last seen 10.2 years ago
Hi,
I've got two issues.
(1) I tried to replicate the Rgraphviz Vignette but crashed at
plotting
step.
> library(Rgraphviz)
Loading required package: graph
Loading required package: grid
> set.seed(123)
> V <- letters[1:10]
> M <- 1:4
> g1 <- randomGraph(V, M, 0.2)
> g1
A graphNEL graph with undirected edges
Number of Nodes = 10
Number of Edges = 16
> plot(g1)
crashed here!
As you can see below, I recently installed R v2.11.1 on Windows Vista.
The graphviz is version 2.20.3.1 (quite an old one but Rgraphviz
specifically mentioned this version).
Any ideas?
> sessionInfo()
R version 2.11.1 (2010-05-31)
i386-pc-mingw32
locale:
[1] LC_COLLATE=English_Singapore.1252 LC_CTYPE=English_Singapore.1252
[3] LC_MONETARY=English_Singapore.1252 LC_NUMERIC=C
[5] LC_TIME=English_Singapore.1252
attached base packages:
[1] grid stats graphics grDevices utils datasets methods
[8] base
other attached packages:
[1] Rgraphviz_1.26.0 graph_1.26.0
loaded via a namespace (and not attached):
[1] tools_2.11.1
(2) If I want to use newer version of graphviz in *nix system (not the
windows system), is there any hope for this or do I still need to
stick to
the version 2.20.3.1?
Specifically, I have 64bit R-2.11 on Mac OS X 10.6 in mind.
Thanks in advance,
TH
--
Tae-Hoon Chung, PhD
[[alternative HTML version deleted]]