BiocParallel
BiocParallel copied to clipboard
Allow recovery from fatal worker error
library(BiocParallel)
fun <- function(i) {
if (i == 2) tools::pskill(Sys.getpid())
i
}
bplapply(1:3, fun)
causes the entire bplapply()
to fail, but could instead return results 1 and 3.