[R-sig-hpc] foreach progress bar?
Stephen Weston
stephen.b.weston at gmail.com
Mon Feb 25 22:49:39 CET 2013
I've never done anything quite like that. To get progress information
from foreach I've either used the foreach ".verbose=TRUE" option,
or displayed progress messages from a custom ".combine" function.
However, the ".combine" approach is only useful if you're using
a parallel backend that returns worker results on the fly, such as doMPI.
Using backends like doSNOW or doMC, the .combine function is
only called once, which isn't very useful for progress messages.
- Steve
On Mon, Feb 25, 2013 at 2:17 PM, Jonathan Greenberg <jgrn at illinois.edu> wrote:
> Folks:
>
> Has anyone figured out a general solution to create a foreach progress
> bar, updated as each iteration is completed?
>
> --j
>
> --
> Jonathan A. Greenberg, PhD
> Assistant Professor
> Global Environmental Analysis and Remote Sensing (GEARS) Laboratory
> Department of Geography and Geographic Information Science
> University of Illinois at Urbana-Champaign
> 607 South Mathews Avenue, MC 150
> Urbana, IL 61801
> Phone: 217-300-1924
> http://www.geog.illinois.edu/~jgrn/
> AIM: jgrn307, MSN: jgrn307 at hotmail.com, Gchat: jgrn307, Skype: jgrn3007
>
> _______________________________________________
> R-sig-hpc mailing list
> R-sig-hpc at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-hpc
More information about the R-sig-hpc
mailing list