SetParallel | R Documentation |
Set the number of cores for parallel execution.
SetParallel(cores = max(1, parallel::detectCores() - 2))
cores |
number of cores |
Whenever psapply or plapply are used, they are executed in parallel.
No return value, called for side effects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.