Easiest way to plot a variable sized tree/hierarchical list programmatically?

I am looking for tips on how to plot a tree structure of variable dimensions in R.
I have started looking into diagrammr, but I am not sure how to get it to deal with data that is variable. The examples that I have found use static data. I am expecting to use recursion on a snapshot of a variable dataset, and to summarise it a a collection of shapes. Any links to example code? Thanks!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.