[R] Printing status updates in while-loop

2010-07-14 Thread Michael Haenlein
Dear all, I'm using a while loop in the context of an iterative optimization procedure. Within my while loop I have a counter variable that helps me to determine how long the loop has been running. Before the loop I initialize it as counter - 0 and the last condition within my loop is counter -

Re: [R] Printing status updates in while-loop

2010-07-14 Thread jim holtman
try: print(counter) flush.console() # force the output On Wed, Jul 14, 2010 at 2:31 PM, Michael Haenlein haenl...@escpeurope.eu wrote: Dear all, I'm using a while loop in the context of an iterative optimization procedure. Within my while loop I have a counter variable that helps me to