I was wondering how I could lower the speed (i.e., the timing) of the for()
loop below to allow plot changes to be visible and tangible by human eye in R (without having to click enter and just watching the looping run slowly)?
Here is a piece of R code:
for (i in 1:50) {
plot(rnorm(40))
readline(prompt="Press [enter] to continue")
}