On 17/01/2008, at 6:46 AM, Vu Nguyen wrote: > My R script needs to pause or wait for a key or mouse on each > graph. I used the following statement after each plot > > par(ask=TRUE) > > This works on Windows but not on MacOS. > Is there any way to pause on graph in MacOS?
(1) Why do you set par(ask=TRUE) ***after each plot***??? It would seem to me to make more sense to set it ***once*** before commencing the sequence of plots. (2) par(ask=TRUE) appears to work just fine for me on MacOS: par(ask=TRUE) for(i in 1:3) plot(i:(10*i)) does exactly what I would expect. cheers, Rolf Turner ###################################################################### Attention:\ This e-mail message is privileged and confid...{{dropped:9}} ______________________________________________ R-help@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.