(PR#4307) Re: [Rd] par(new=T) works differently in pdf vs postscript if applied before a plot statement. (PR#4037)

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Sep 1 20:43:09 MEST 2003

Please give us an example of what you mean (as the FAQ asks).  Exactly
what order are you doing things in?

You can't send scripts to graphics devices, and you should not be calling
par(new=TRUE) without a plot already done.  So it would appear to be user
error, and it may well just be different error handling in the two
devices.  If I have guessedanything like right ....

On Mon, 1 Sep 2003 andrewr at uidaho.edu wrote:

> If I place par(new=T) before I create a plot in a script that is sent to a pdf 
> device, the pdf is unopenable and reports itself as having no pages.  The 
> postscript device seems to ignore the par instruction.
> I guess one of these is a bug, but I don't know which one!

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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-devel mailing list