Skip to content

warning on gamma option in par(args) or calling par(= new)?

3 messages · Brian Ripley, AA

#
You are calling par() *before* opening  and (in on.exit) *after* closing 
the pdf() device.  par() applies on a per-device basis, and if no device 
is open the default device will be opened.

As for why you get the warnings about 'gamma' and 'new', see ?par and read 
their entries.  Since you don't change any pars, I do not see why you are 
attempting to reset them.
On Thu, 27 Dec 2007, AA wrote:

            

  
    
1 day later
AA
#
Thank you for your quick reply Prof. Ripley.
I thought I am modifying par() in par(mfrow = c(4,2)). This is not clear for 
me.
But I do understand now that par() applies to each device.
Thanks again.
AA.
----- Original Message ----- 
From: "Prof Brian Ripley" <ripley at stats.ox.ac.uk>
To: "AA" <aa2007r at gmail.com>
Cc: "'r-help'" <r-help at stat.math.ethz.ch>
Sent: Friday, December 28, 2007 3:09 AM
Subject: Re: [R] warning on gamma option in par(args) or calling par(= new)?