mlr-org/parallelMap

parallelExport() doesn't work properly without explicit parallelStart()

Closed this issue · 1 comments

In my configuration, I have parallelMap.default.autostart = TRUE. This does not work properly in conjunction with parallelExport() -- I'm getting messages about the specified objects being exported and imported again, but subsequent code fails saying that those objects are undefined.

If I add an explicit parallelStart() before doing the exports, everything works fine.

Thx for the report and sorry for taking so long.

I have decided to remove the autostart option.
It was not really possible to have stable and bug free package with this, when I offer nice things as parallelLibrary, parallelExport and so on.
(there are simply too many places where you must potentially "autostart")

I have decided that the user does not lose so much when I remove this option, and he has to write 1 line more, but gains a lot in stability and usability.