[R] Drawing a graph with vertices and edges using tcl/tk
Robert Gentleman
rgentlem at fhcrc.org
Sun Jul 31 16:09:51 CEST 2005
Rgraphviz is a fairly complete interface that works on all systems now,
including Windows.
http://www.bioconductor.org/packages/bioc/devel/src/contrib/html/Rgraphviz.html
but not the absolute latest Graphviz (2.4) as it has gone through pretty
extensive code rearrangements. We should have a version for Graphviz 2.4
in the next few weeks.
Robert
Gabor Grothendieck wrote:
> 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 at 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 at 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 at 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
>
More information about the R-help
mailing list