Is there any way to break out of a foreach loop?

前端 未结 6 1168
耶瑟儿~
耶瑟儿~ 2020-12-04 22:29

I am using the R package foreach() with %dopar% to do long (~days) calculations in parallel. I would like the ability to stop the entire set of cal

6条回答
  •  一生所求
    2020-12-04 23:11

    The answer I got from REvolution Technical support: "no--foreach doesn't currently have a way to stop all parallel computations on an error to any one".

提交回复
热议问题