Re: [Rd] PGF Device

From: Duncan Murdoch <>
Date: Wed 31 Jan 2007 - 12:29:59 GMT

On 1/30/2007 8:50 PM, jtxx000 wrote:
> Greetings all,
> PGF is a package for LaTeX which works with both ps
> and pdf output without any nasty hacks like pictex.
> Is there any technical reason why there could not be a
> PGF graphic device for R? If not, I'm going to try to
> throw one together. Any tips for getting started?

The existing drivers are in the grDevices package. I would start with one of those (the picTeX driver would probably be most similar) and go from there. Alternatively, start from devNULL.c and fill in the blanks.

Someone else may be able to offer advice about whether you should be targetting this to be your own package, or for inclusion in the R source. In the past it's been impossible to create a driver in a package, and there's been talk about adding enough to the API to allow this, but I don't know whether that's in place yet.

Duncan Murdoch mailing list Received on Wed Jan 31 23:37:10 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 31 Jan 2007 - 14:31:09 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.