Re: [R] Drawing a graph with vertices and edges using tcl/tk

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Sun 31 Jul 2005 - 23:49:21 EST

Another approach is the Bell Labs graphviz system. See

   http://www.graphviz.com

For an example of using it from R, see the dot.proto function in the 'proto' package. dot.proto generates dot language output to draw a graphviz graph of the objects in any R program written using 'proto'.

   library(proto)
   example(dot.proto)
   # see ?dot.proto for instructions on displaying graph

The above approach should work on any OS supported by R (since graphviz works on all of them); however, on UNIX one could also use the Rgraphviz package that specifically interfaces R with graphviz:

  http://www.bioconductor.org/repository/release1.4/package/html/Rgraphviz.html

On 7/31/05, Søren Højsgaard <Soren.Hojsgaard@agrsci.dk> wrote:
> Dear all; I would like to draw a graph with vertices and edges, and I guess tcl/tk would be appropriate. I don't know tcl/tk but have googled for a 10-page (or so) introduction to 'getting started with tcl/tk in R' but without any luck.
> - Does anyone know of the existence of such a document or any other web-based material on the subject?
> - Does anyone have an (informative) piece of code which does something similar to what I want?
> Thanks in advance
> Søren
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun Jul 31 23:54:35 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:38 EST