suitableParallelPlan | R Documentation |
Generate a suitable parallel processing future plan for your session. See ?future::plan
for more details on future plans.
suitableParallelPlan(
strategy = suitableParallelStrategy(),
workers = suitableParallelWorkers(),
...
)
suitableParallelStrategy()
suitableParallelWorkers(RAM_per_worker = 8, proportion_max_workers = 0.75)
strategy |
The parallel strategy to use. See |
workers |
The number of workers to use. |
... |
Arguments to pass to |
RAM_per_worker |
The memory (in gigabytes) to allocate to each worker when calculating a suitable number of workers. |
proportion_max_workers |
A value between 0 and 1. The maximum number of workers to allocate as a
proportion of the total number of workers available (as detected by |
## Return a suitable parallel strategy for the current session
suitableParallelStrategy()
## Return a suitable number parallel workers based on the system resources.
suitableParallelWorkers()
## Not run:
## Generate a suitable parallel plan
suitableParallelPlan()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.