There seems to be a problem with bplapply() on Windows in BiocParallel for version 1.2.9 and higher (I tested up to 1.3.41). While the code below works fine on BiocParallel version 1.0.3 it causes the system to hang on newer versions. Can anybody reproduce this problem or else tell me what I got wrong...
Minimal test code:
library(parallel) cl<-makeCluster(2, 'SOCK') parLapply(cl, 1:4, function(i) Sys.sleep(1)) stopCluster(cl) library(BiocParallel) register(SnowParam(workers = 2, type = 'SOCK'), default = TRUE) bpparam() bplapply(1:4, function(i) Sys.sleep(1))
While the first snippet works fine on Linux, OSX and Windows, the second one hangs up on Windows. When stopping execution, I get the following warning:
Warning message: running command 'env MASTER=localhost PORT=11521 OUT=/dev/null RPROG=C:/PROGRA~1/R/R-32~1.1/bin/R R_LIBS= C:/Users/loge/Documents/R/win-library/3.2/BiocParallel/RSOCKnode.sh' had status 127