Pause between Plots

DESCRIPTION:

Forces every graphics device to pause before starting a new plot; hit the key to draw the next plot.

USAGE:

dev.ask(ask=T) 

OPTIONAL ARGUMENTS:

ask
logical flag: if TRUE, graphics devices will not erase plots without permission; if FALSE, graphics device write over plots whenever you begin a new plotting command.

VALUE:

logical value containing the last value for global pausing.

SIDE EFFECTS:

if ask=TRUE, every graphics device pauses before starting new plots.

SEE ALSO:

, .

EXAMPLES:

stars(votes.repub[state.region=="Northeast",]/100, ncol=2, nrow=2) 
dev.ask(TRUE)
faces(chernoff2[1:9,], ncol=2, nrow=2) 
dev.ask(FALSE)