From paul@stat.auckland.ac.nz  Mon Jan 15 23:03:27 2001
From: paul@stat.auckland.ac.nz (Paul Murrell)
Date: Tue, 16 Jan 2001 12:03:27 +1300
Subject: [Rd] Re: AW: par(par()) corrupts devices (PR#807)
References: <200101151257.MAA13403@toucan.stats.ox.ac.uk>
Message-ID: <016801c07f47$5e8cb860$175dd882@stat.auckland.ac.nz>

Hi


> > I find it frightening to discover that we obvisously have hidden device
> > parameters, and more frigthening that they may be modified by resizing.
> > Sorry that I can't provide code fix, but this is far to deep within the
> > heart of R.
>
> That's not quite right.  R has several pars doing the same thing.  They
> will give different answers after re-sizing, and the last one used wins
> out.  S does not have this problem because (essentially) it does not
> resize.  Ideally there would be a way to save just one of the
> conflicting options.


The aim of this design was so that, for example, a plot size specified in
inches would retain its physical dimensions when the window was resized
(which does not happen in S as Brian has pointed out).  As you have
discovered, the design has some problems when you try to save and restore a
large list of graphics parameter settings.  We are currently working on some
new graphics features which will avoid this problem.

Paul



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Re: AW: par(par()) corrupts devices (PR#807)
Paul Murrell