[R] Custom Device

Paul Murrell p.murrell at auckland.ac.nz
Wed Oct 22 01:35:31 CEST 2003


Hi


Arend P. van der Veen wrote:
> Hi,
> 
> Can anyone point in the direction of how to write a custom output device
> in R.  I currently generate output using PS and JPEG but need to produce
> output in our own vector graphics language.


Look at ...

R/src/include/R_ext/GraphicsDevice.h

... for the in-progress API and ...

R/src/modules/X11/devX11.c

... for a device template to model yourself on.

And if you decide to go ahead with something, keep in touch because this 
stuff will be undergoing changes in the near future.

Paul
-- 
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
Auckland
New Zealand
64 9 3737599 x85392
paul at stat.auckland.ac.nz
http://www.stat.auckland.ac.nz/~paul/




More information about the R-help mailing list