Parallel processing in R 2.11 Windows 64-bit using SNOW not quite working
Posted
by Abhijit
on Stack Overflow
See other posts from Stack Overflow
or by Abhijit
Published on 2010-05-12T13:50:41Z
Indexed on
2010/05/12
13:54 UTC
Read the original article
Hit count: 401
I'm running R 2.11 64-bit on a WinXP64 machine with 8 processors. With 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 are not spawning, and the code hangs. I'm wondering if this is a problem with the port of SNOW to 2.11-64bit, or if any additional code is required on my part. Thanks
© Stack Overflow or respective owner