[R-sig-hpc] snow/snowfall: outputting iteration number

Brian G. Peterson brian at braverock.com
Sat Nov 21 11:28:39 CET 2009

Vinh Nguyen wrote:
> hi all,
> in a loop, i normally output the iteration number every 10 or 100 to
> know my progress.  however, when doing parallel computing using
> snow/snowfall, putting the print() or cat() statement into the wrapper
> function does not output into the main R console.  does anyone know
> how one would be able to output the iteration (argument into the
> wrapper function from sfLapply) into the main console?
Try using message() instead of print() or cat()


    - Brian

Brian G. Peterson
Ph: 773-459-4973
IM: bgpbraverock

More information about the R-sig-hpc mailing list