If I run the code below, I am not able to see the plots change as the for-loop gets executed very quickly.
for(i in 1:10) {
plot(rnorm(20))
}
I am wondering if there is a way to slow down the for-loop and create one plot every 5 seconds. Thanks!