Hello,

I was using snow to parallel-process some code in R-2.10 (32-bit 
windows. ). The code is as follows:

require(foreach)
require(doSNOW)

cl <- makeCluster(6, type='SOCK')
registerDoSNOW(cl)
bl2 <- foreach(i=icount(length(unqmrno))) %dopar% {
(some code here)
}
stopCluster(cl)

When I run the same code in Windows R-2.11 (either 32-bit or 64-bit), R 
hangs at cl<-makeCluster(6, type='SOCK') and no R processes are spawned. 
I was wondering if others have encountered this problem, and any 
suggestions on solving this would be greatly appreciated.
-- 

Abhijit Dasgupta, PhD

Statistician | Clinical Sciences Section | NIAMS/NIH


        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to