Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.GSO.4.05.10005102122110.12482-100000@auk.stats>
Date: 2000-05-10T20:22:58Z
From: Brian Ripley
Subject: To restore old par() in high-res graphics
In-Reply-To: <3919AD49.1F3BAD04@perseus.unalmed.edu.co>

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