I am running R 2.11 64-bit on a WinXP64 machine with 8 processors. In R 2.10.1, the following code spawned 6 R processes for parallel processing:
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 R 2.11 Win64, the 6 R processes do not multiply and the code freezes. I am wondering if this is a problem with the SNOW port up to 2.11-64bit, or if any additional code is required on my part. Thanks
By the way, this works very well on my multi-core machine, which runs 64-bit Ubuntu Karmic and R 2.11. Unfortunately, I have to work on Win64 at work
source
share