[R] To restore old par() in high-res graphics

Prof Brian D Ripley ripley at stats.ox.ac.uk
Wed May 10 22:22:58 CEST 2000


On Wed, 10 May 2000, Kenneth Cabrera wrote:

> Hello R people:
> 
> I get the the following warning messages when I try to restore
> the par() values.
> 
> I type:
> 
> > xxx <- par()
> > par(xxx)
> 
> And I obtain the followin warning messages:
> 
> Warning messages:
> 1: parameter "cin" can't be set in: par(args)
> 2: parameter "cra" can't be set in: par(args)
> 3: parameter "csi" can't be set in: par(args)
> 4: parameter "cxy" can't be set in: par(args)
> 5: parameter "din" can't be set in: par(args)
> 
> What do this messages mean?
> 
> I am trying to build a function that calls several graphics but I don't
> want
> to obtain those warning messages.

use 

par(no.readonly=TRUE)

It's right at the top of the help page!

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