Hello; I'm preparing a simple function that plots sequentially a number of time series for visual inspection, after some previous transformations. To allow the user to have time to see the series I'm using Sys.sleep(1.5) between calls to line(). But is it possible to add some mechanism that would allow the user, for example with one click on the plotting device, to pause the sequential plotting for a more detailed inspection of a specific series and with another click to go on with the sequential display? Without the details, it is something like this: results.plot <- function(i){ plot(...) for (j in i){ lines(j) Sys.time(1.5) } } And I'm calling the function for all series in a matrix: results.plot(1:100) Thanks and best regards, Javier -- Javier Garc?a-Pintado Institute of Earth Sciences Jaume Almera (CSIC) Lluis Sole Sabaris s/n, 08028 Barcelona Phone: +34 934095410 Fax: +34 934110012 e-mail:jgarcia at ija.csic.es