[R] Progress in a loop

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Jul 19 16:22:07 CEST 2006

Florent Bresson wrote:
> Hi, I have to use a loop to perform a quite computer
> intensive estimation and I would like to know the
> progress of the loop during the process. I tried to
> include something like
>   print(paste(k,date(),sep=" : "))
> where k is the number of the iteration, but the result
> appears only at the end of the loop. Can someone help
> me please ?

Please read the "R for Windows FAQ":
When using Rgui the output to the console seems to be delayed.

Uwe Ligges

> ___________________________________________________________________________ 
> Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list