By the way, the code works under MacOS with: >library(foreach) >library(doMC) >registerDoMC() >foreach(i=tar.files.vector) %dopar% untar(i)
So it has to do with how I write the foreach command on windows... I tried reading the vignettes and they didn't help much on this. Thanks again, Ariel -- View this message in context: http://r.789695.n4.nabble.com/untaring-files-in-parallel-with-foreach-and-doSNOW-tp4637614p4637620.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org 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.