From ripley at stats.ox.ac.uk  Mon Sep  1 20:43:09 2003
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Mon Sep  1 20:42:31 2003
Subject: (PR#4307) Re: [Rd] par(new=T) works differently in pdf vs postscript
	if applied before a plot statement. (PR#4037)
In-Reply-To: <200309011833.h81IXMJH001142@pubhealth.ku.dk>
Message-ID: <Pine.LNX.4.44.0309011938510.22603-100000@gannet.stats>

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@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@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


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