[R] untaring files in parallel with foreach and doSNOW?

arielob aortizbobea at arec.umd.edu
Tue Jul 24 22:15:59 CEST 2012


I had the wrong impression that the parallel package had only forking
capabilities (such as multicore), but I missed the parLapply() function.

This code now works under Windows:

>cl <- makeCluster(4)

>parLapply(cl, X=tar.files.vector, fun=untar)

View this message in context: http://r.789695.n4.nabble.com/untaring-files-in-parallel-with-foreach-and-doSNOW-tp4637614p4637663.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list