search for: whoopss

Displaying 1 result from an estimated 1 matches for "whoopss".

Did you mean: whoops
2004 Nov 04
3
Finding out the number of times a loop has run
Hi, Suppose I have: for(i in 1:100000) rnorm(100000) (just a fake example, as my actual example is too long) Is it possible to get the loop to print out i each time it has run? Something like: for(i in 1:100000) { print(i) rnorm(100000) } will only print i after the loop is completed. But if I want to print out i whenever it re-enters the loop, is it possible (so I know how