Re: [R] Progress Monitor in R

From: Weiwei Shi <helprhelp_at_gmail.com>
Date: Tue 24 Oct 2006 - 21:00:17 GMT

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@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@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

______________________________________________
R-help@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.
Received on Wed Oct 25 07:03:14 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 24 Oct 2006 - 22:30:13 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.