[R] postscript preview

Prof Brian D Ripley ripley at stats.ox.ac.uk
Wed Oct 4 08:17:34 CEST 2000


On Wed, 4 Oct 2000, Strumila, John wrote:

> gday R friends,
> 
> I was wondering if anyone could help me with some graphics issues please.
> 
> I'm processing R in batch on redhat6.2 with some graphics to be imported
> into msword on NT.  For scaling within my doco I want some vector type
> graphics.  win.metafile doesn't seem to be supported on redhat which gives
> me postscript.  postscript is ideal but doesn't contain a preview so I can't
> see it in msword.
> 
> Is there a way of sticking a preview into postscript?

Yes.  Most easily, use GSView on Windows, which has a menu option to 
do this.  The same author (Russell Lang) has a standalone program epstool
that can add (or remove) previews.  That has a Unix version, but whether it
can add on Unix previews that Word can read, I don't know.

GSView/epstool are found on ghostscript sites, once under rjl, now I think
under ghostgum.

> If I ignore vector graphics and use png/jpeg I get x11 colormap limitations.
> 
> 
> Is bitmap my only alternative?

The only vector graphics formats supported by R on Linux are PostScript and
XFig to my knowledge.  We do hope to add PDF and WMF one day but the latter
in particular is not going to be easy due to lack of documentation (and
lack of existing convertors).

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list