Rgraphviz and graphviz for R 2.8.0 on Windows XP
1
0
Entering edit mode
@theresa-scharl-1977
Last seen 9.6 years ago
Hi, I am using graphviz 1.16.1, R 2.8.0 and Rgraphviz 1.20.0 on Windows XP. Windows environment variables for graphviz are set accordingly. Package loads successfully but Rgui.exe crashes plotting the following example (this used to work for R 2.7.2): library("Rgraphviz") set.seed(123) V <- letters[1:10] M <- 1:4 g1 <- randomGraph(V, M, 0.2) plot(g1) Any ideas? Best regards, Theresa R version 2.8.0 (2008-10-20) i386-pc-mingw32 locale: LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 attached base packages: [1] grid stats graphics grDevices utils datasets methods base other attached packages: [1] Rgraphviz_1.20.0 graph_1.20.0 loaded via a namespace (and not attached): [1] cluster_1.11.11 tools_2.8.0 -- ----------------------------------------------------- Dipl.-Ing. Theresa Scharl Institut f?r Statistik und Wahrscheinlichkeitstheorie Technische Universit?t Wien Wiedner Hauptstra?e 8-10/1071 A-1040 Wien Tel: +43 (1) 58801 10712 Fax: +43 (1) 58801 10798
Rgraphviz Rgraphviz • 1.4k views
ADD COMMENT
0
Entering edit mode
Kjell Konis ▴ 20
@kjell-konis-3119
Last seen 9.6 years ago
I have a binary version of Rgraphviz 1.20.0 built for R 2.8.0 and Graphviz 2.20.3. You can find it at the bottom of this page: http://rhugin.r-forge.r-project.org/ So far it has worked on every machine I have tried it on (okay, 3) but I only use a small chunk of Graphviz's capabilities so YMMV. Also, Graphviz 2.20.3 installs itself in C:\Program Files\Graphviz 2.21 so you can probably install it without messing up your 1.16.1 installation. Cheers, Kjell On 4 nov. 08, at 13:07, Theresa Scharl wrote: > Hi, > > I am using graphviz 1.16.1, R 2.8.0 and Rgraphviz 1.20.0 on Windows > XP. > Windows environment variables for graphviz are set accordingly. > Package loads successfully but Rgui.exe crashes plotting the following > example (this used to work for R 2.7.2): > > library("Rgraphviz") > set.seed(123) > V <- letters[1:10] > M <- 1:4 > g1 <- randomGraph(V, M, 0.2) > plot(g1) > > Any ideas? > > Best regards, > Theresa > > > R version 2.8.0 (2008-10-20) > i386-pc-mingw32 > > locale: > LC_COLLATE=English_United States.1252;LC_CTYPE=English_United > States.1252;LC_MONETARY=English_United > States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 > > attached base packages: > [1] grid stats graphics grDevices utils datasets > methods base > > other attached packages: > [1] Rgraphviz_1.20.0 graph_1.20.0 > > loaded via a namespace (and not attached): > [1] cluster_1.11.11 tools_2.8.0 > > -- > ----------------------------------------------------- > Dipl.-Ing. Theresa Scharl > Institut f?r Statistik und Wahrscheinlichkeitstheorie > Technische Universit?t Wien > Wiedner Hauptstra?e 8-10/1071 > A-1040 Wien > Tel: +43 (1) 58801 10712 > Fax: +43 (1) 58801 10798 > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
ADD COMMENT
0
Entering edit mode
Thank you very much for the information. Your version of Rgraphviz works for all my methods. Cheers, Theresa Kjell Konis wrote: > I have a binary version of Rgraphviz 1.20.0 built for R 2.8.0 and > Graphviz 2.20.3. You can find it at the bottom of this page: > > http://rhugin.r-forge.r-project.org/ > > So far it has worked on every machine I have tried it on (okay, 3) but > I only use a small chunk of Graphviz's capabilities so YMMV. > > Also, Graphviz 2.20.3 installs itself in C:\Program Files\Graphviz > 2.21 so you can probably install it without messing up your 1.16.1 > installation. > > Cheers, > Kjell > > > On 4 nov. 08, at 13:07, Theresa Scharl wrote: > >> Hi, >> >> I am using graphviz 1.16.1, R 2.8.0 and Rgraphviz 1.20.0 on Windows XP. >> Windows environment variables for graphviz are set accordingly. >> Package loads successfully but Rgui.exe crashes plotting the following >> example (this used to work for R 2.7.2): >> >> library("Rgraphviz") >> set.seed(123) >> V <- letters[1:10] >> M <- 1:4 >> g1 <- randomGraph(V, M, 0.2) >> plot(g1) >> >> Any ideas? >> >> Best regards, >> Theresa >> >> >> R version 2.8.0 (2008-10-20) >> i386-pc-mingw32 >> >> locale: >> LC_COLLATE=English_United States.1252;LC_CTYPE=English_United >> States.1252;LC_MONETARY=English_United >> States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 >> >> attached base packages: >> [1] grid stats graphics grDevices utils datasets >> methods base >> >> other attached packages: >> [1] Rgraphviz_1.20.0 graph_1.20.0 >> >> loaded via a namespace (and not attached): >> [1] cluster_1.11.11 tools_2.8.0 >> >> -- >> ----------------------------------------------------- >> Dipl.-Ing. Theresa Scharl >> Institut f?r Statistik und Wahrscheinlichkeitstheorie >> Technische Universit?t Wien >> Wiedner Hauptstra?e 8-10/1071 >> A-1040 Wien >> Tel: +43 (1) 58801 10712 >> Fax: +43 (1) 58801 10798 >> >> _______________________________________________ >> Bioconductor mailing list >> Bioconductor at stat.math.ethz.ch >> https://stat.ethz.ch/mailman/listinfo/bioconductor >> Search the archives: >> http://news.gmane.org/gmane.science.biology.informatics.conductor > > > -- ----------------------------------------------------- Dipl.-Ing. Theresa Scharl Institut f?r Statistik und Wahrscheinlichkeitstheorie Technische Universit?t Wien Wiedner Hauptstra?e 8-10/1071 A-1040 Wien Tel: +43 (1) 58801 10712 Fax: +43 (1) 58801 10798
ADD REPLY
0
Entering edit mode
Using Kjell's Graphviz recommendation, I modified the Rgraphviz package, now at version 1.20.1, in BioC 2.3. As far as I can tell, this new Windows binary package build of Rgraphviz is fully functional. Stealing liberally from the instructions on The RHugin Package Homepage, here are the step you need to install the new build of Rgraphviz in R-2.8.0: 1) Download and install Graphviz version 2.20.3. http://www.graphviz.org/pub/graphviz/stable/windows/graphviz-2.20.3.ms i 2) Add the location of the Graphviz binaries, the default being C:\Program Files\Graphviz 2.21\bin, to your PATH system environment variable. 3) Download and install the Rgraphviz package in R-2.8.0 using biocLite. source("http://bioconductor.org/biocLite.R") biocLite("Rgraphviz") Many, many thanks to Kjell Konis for pointing out the graphviz-2.20.3.msi distribution. I only needed to tweak a few configuration files to get the package to build properly. Patrick Theresa Scharl wrote: > Thank you very much for the information. Your version of Rgraphviz > works for all my methods. > > Cheers, > Theresa > > Kjell Konis wrote: >> I have a binary version of Rgraphviz 1.20.0 built for R 2.8.0 and >> Graphviz 2.20.3. You can find it at the bottom of this page: >> >> http://rhugin.r-forge.r-project.org/ >> >> So far it has worked on every machine I have tried it on (okay, 3) >> but I only use a small chunk of Graphviz's capabilities so YMMV. >> >> Also, Graphviz 2.20.3 installs itself in C:\Program Files\Graphviz >> 2.21 so you can probably install it without messing up your 1.16.1 >> installation. >> >> Cheers, >> Kjell >> >> >> On 4 nov. 08, at 13:07, Theresa Scharl wrote: >> >>> Hi, >>> >>> I am using graphviz 1.16.1, R 2.8.0 and Rgraphviz 1.20.0 on Windows XP. >>> Windows environment variables for graphviz are set accordingly. >>> Package loads successfully but Rgui.exe crashes plotting the following >>> example (this used to work for R 2.7.2): >>> >>> library("Rgraphviz") >>> set.seed(123) >>> V <- letters[1:10] >>> M <- 1:4 >>> g1 <- randomGraph(V, M, 0.2) >>> plot(g1) >>> >>> Any ideas? >>> >>> Best regards, >>> Theresa >>> >>> >>> R version 2.8.0 (2008-10-20) >>> i386-pc-mingw32 >>> >>> locale: >>> LC_COLLATE=English_United States.1252;LC_CTYPE=English_United >>> States.1252;LC_MONETARY=English_United >>> States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 >>> >>> attached base packages: >>> [1] grid stats graphics grDevices utils datasets >>> methods base >>> >>> other attached packages: >>> [1] Rgraphviz_1.20.0 graph_1.20.0 >>> >>> loaded via a namespace (and not attached): >>> [1] cluster_1.11.11 tools_2.8.0 >>> >>> -- >>> ----------------------------------------------------- >>> Dipl.-Ing. Theresa Scharl >>> Institut f?r Statistik und Wahrscheinlichkeitstheorie >>> Technische Universit?t Wien >>> Wiedner Hauptstra?e 8-10/1071 >>> A-1040 Wien >>> Tel: +43 (1) 58801 10712 >>> Fax: +43 (1) 58801 10798 >>> >>> _______________________________________________ >>> Bioconductor mailing list >>> Bioconductor at stat.math.ethz.ch >>> https://stat.ethz.ch/mailman/listinfo/bioconductor >>> Search the archives: >>> http://news.gmane.org/gmane.science.biology.informatics.conductor >> >> >> >
ADD REPLY

Login before adding your answer.

Traffic: 737 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6