3 ms·
As for not working on Windows, have you tried `plan(multisession)` instead of `plan(multicore)`? The latter will never work on Windows due to it's lack of forka
by claytonjy 10y ago
As for not working on Windows, have you tried `plan(multisession)` instead of `plan(multicore)`? The latter will never work on Windows due to it's lack of forkability, as mentioned in this vignette.
That ports thing is interesting; could that bug be specific to the `multicore` plan?
- jonchang 10y agoIt's been over a year since I dug into this problem but I believe that the ports issue is inherent to all R parallel code, at least on Linux. Peeking at the futures code multisession is build on the "clustering" type of parallelism which means that it is vulnerable to this issue. I haven't encountered the problem on Mac but that's because my laptop is generally unable to create enough parallel jobs to saturate the number of available ports.