[R] Progress Monitor in R

Weiwei Shi helprhelp at gmail.com
Tue Oct 24 23:00:17 CEST 2006


the way i do is like this

for (i in 1:1000){

  if (i %% 100){ # you can change this number
    cat("process monitor: i =", i, "\n");
  }

}

hth,

w.

On 10/24/06, Xiaofan Cao <cao at stat.colostate.edu> wrote:
> Hi there,
>
> I'm writing a program in R that has a few nested loops. I'd like to
> monitor the progress when the program is running and be able to estimate
> the remaining time.
>
> I'd highly appreciate it if anyone can shed a light on this issue. Thanks
> for your time!
>
> Best Regards,
> Martha Cao
>
> ______________________________________________
> 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.
>


-- 
Weiwei Shi, Ph.D
Research Scientist
GeneGO, Inc.

"Did you always know?"
"No, I did not. But I believed..."
---Matrix III



More information about the R-help mailing list