[R] Two questions

(Ted Harding) Ted.Harding at nessie.mcc.ac.uk
Thu Apr 3 15:03:33 CEST 2003

... and one answer ...

On 02-Apr-03 Peter Dunn wrote:
> Hi all
> Two questions:
> 1. I note that help for the postscript device claims "The 
> postscript produced by R is EPS (Encapsulated PostScript)
> compatible...".  It does not say it is EPS *compliant*.  
> Indeed, the EPS produced by R includes a \showpage command 
> which I believe (not that I'm an expert!) non-standard EPS.  
> My question:  Is there any reason why it is EPS compatible,
> but not compliant?  (I ask because the \showpage caused me
> a minor trouble once.)

Nothing whatever wrong with this, and it is perfectly standard
and "compliant" and indeed is covered in the PostScript Language
Reference Manual.

Using 'showpage' allows the file to be displayed directly on
any PS device, while the file can be embedded in another document
PROVIDED the embedding PS code redefines 'showpage' to be null
(i.e. /showpage {} def) for the duration of the wrapper.

Some document-generating software, however, can be sloppy about
this, in which case you will indeed have trouble. But that is
the fault of the software, not of the fact that 'showpage' is
present in the file.


E-Mail: (Ted Harding) <Ted.Harding at nessie.mcc.ac.uk>
Fax-to-email: +44 (0)870 167 1972
Date: 03-Apr-03                                       Time: 14:03:33
------------------------------ XFMail ------------------------------

More information about the R-help mailing list