I am using R to generate a series of plots within a loop, with the user hitting the enter key to indicate they have seen the plot and it is time to move on. These are interacti
I'm not sure if there is an easy way to wait a keyboard input, but at least you can wait mouse click. Not elegant but try this script:
quartz() # or maybe windows() in windows for (i in 1:5) {plot(i, i); locator(1)}