#RStats parallelism weirdness: I am trying to `furrr::future_map()`-wrap a heavi...
Chris Black @infotroph@toot.cat
#RStats parallelism weirdness: I am trying to `furrr::future_map()`-wrap a heavily side-effecting function that writes many directories full of config files for a simulation to be run later. My first naive try runs in tenths of a second per input in serial or with `plan(multicore)` but takes about **ten minutes** per input with either `plan(multisession)` or `plan(future.callr::callr)`, even when workers = 1.
I can run other examples and they work as expected with any backend, so it's something specific to this task. Any hints what kinds of behavior I should be working to isolate as I cut down to a reprex?