powered by
Output a message while inside a for loop to update the user on progress. This function is useful in tracking progress when the number of iterations is large or the procedures in each iteration take a long time.
loop(i, n = NULL, every = 1, extra=NULL)
The index value used in the loop.
The last entry in the loop.
The number of loops between messages.
Additional information to print.
myPDF
# NOT RUN { for(i in 1:160){ loop(i, 160, 20, paste("iter", i)) } # }
Run the code above in your browser using DataLab