Skip to content
Prev 32857 / 398513 Next

(no subject)

Hi,
I would like to know if it is possible to get printed output while a loop is taking place.
Example:
for(i in 1:10){
 print(i)
 some long process
}

This will print the values of i only after the loop is finished, what I would like is to 
see them when the process enters the i-th iteration to keep track of how the 
program is running.

Thank you,
Gilda