Re: [R] txtProgressBar and parallelized foreach

2011-06-14 Thread Uwe Ligges
I think you do not understand how the parallelization works: Different iterations from your foreach() are run on different nodes, hence you change the progressbar on the node rather on the master in your loop. Uwe Ligges On 14.06.2011 12:23, Julian TszKin Chan wrote: Hi all, I can create a

[R] txtProgressBar and parallelized foreach

2011-06-14 Thread Julian TszKin Chan
Hi all, I can create a text-progress bar in a foreach loop by the following code : n=10 foreach( i = 1:n ,.combine=c) %do%{ setTxtProgressBar(pb, i) Sys.sleep(0.1) } However, once i use the parallelized foreach, the text-progress bar disappear. Any solution to this problem? How