title: Is there a "pause" function in R?
body: <p>I'm writing a user-defined function that includes a for-loop and would like to pause execution after every iteration. Is there some function that does this, like "pause" in MATLAB?</p>