Has anybody ever written some plot / hist functions that would return PlotML code? [http://ptolemy.eecs.berkeley.edu/]
<http://ptolemy.eecs.berkeley.edu/%5D> Not that I know of, and looking at the design of PlotML, it doesn't look like a nice fit as an R device driver. PlotML works at the level of data sets, bar graphs, axes, etc., not with low-level items like lines, polygons, and text. There are general XML handling tools in the XML package, though.
Thx. I've wrapped up a couple of functions into a package that does what I need. In case somebody is interested I've put it with an example at: http://penyfan.ugent.be/ptplot/ . Note that you might also need to install R2HTML. Regards, Gregoire