Description Usage Details Value Examples
Utility function for selecting appropriate parallel strategy for FutureManager.
1 |
For a better performance, this function returns a multicore
strategy for future
plan
. You may experience a long app
startup time and some lag when running background processes using RStudio, because it uses multisession
strategy.
See multicore
and multisession
for further details.
Note that you are not obliged to set the parallel strategy using fmParallelBackend
.
You can simply run plan(future::multicore)
or plan(future::multicore)
.
Returns a multicore
parallel strategy if it is supported, or multisession
if forking is not available in a given environment.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.