Skip to content
Back to formatted view

Raw Message

Message-ID: <F062093E456F8C4A9566C5CA59726C6E1972F3@EMAIL.hci.utah.edu>
Date: 2003-06-03T21:27:15Z
From: Gilda Garibotti
Subject: (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