Re: [R] par(ask=TRUE)

From: Prof Brian Ripley <>
Date: Fri, 28 Mar 2008 17:21:02 +0000 (GMT)

On Fri, 28 Mar 2008, wrote:

> Hi,
> 1)
> par(ask=TRUE)
> histogram(~Y|F1 * F2 * F3,data = ...)
> Successively displays many plots as the # of levels in F3 w/o asking for
> input between each.
> In other words I only get to see the plot for the last level. What's the
> right commands?


par() applies only to base graphics, and you are using grid (via lattice) here.

In 2.7.0 you will use devAskNewPage() instead, and this applies to the device and not the graphics subsystem.

> 2)
> Also I am wondering if there are plot objects i.e. something like
> obj<-plot(x,y)

Yes, in the lattice and ggplot[2] systems, and (in a different way) in teh grid graphics subsystem they are built on.

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 28 Mar 2008 - 17:24:21 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 28 Mar 2008 - 17:30:25 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive