Dear helpeRs, I would like to include generation of a potentially large number of plots, and modify the ask settings using the devAskNewPage function, and return it back to its original state afterwards. It is not unlikely that the user escapes from the long list of plots before reaching the end. (How) Can I make sure to return the ask setting to its original state even if the plots are escaped so that the function does not reach its natural end? Best, Ulrike
Change devAskNewPage setting on Escape?
2 messages · Ulrike Grömping, Brian Ripley
On 24/05/2013 15:21, Ulrike Gr?mping wrote:
Dear helpeRs, I would like to include generation of a potentially large number of plots, and modify the ask settings using the devAskNewPage function, and return it back to its original state afterwards. It is not unlikely that the user escapes from the long list of plots before reaching the end. (How) Can I make sure to return the ask setting to its original state even if the plots are escaped so that the function does not reach its natural end?
?on.exit
Best, Ulrike
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
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 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595