[Rd] SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()

Gábor Csárdi c@@rd|@g@bor @end|ng |rom gm@||@com
Fri Jan 10 21:43:15 CET 2020

On Fri, Jan 10, 2020 at 7:23 PM Simon Urbanek
<simon.urbanek using r-project.org> wrote:
> Henrik,
> the example from the post works just fine in CRAN R for me - the post was about homebrew build so it's conceivably a bug in their libraries. That's exactly why I was proposing a more general solution where you can simply define a function in user-space that will issue a warning or stop on fork, it doesn't have to be part of core R, there are other packages that use fork() as well, so what I proposed is much safer than hacking the parallel package.

Btw. what other packages do fork() without an exec() call()?


More information about the R-devel mailing list