Setup parallel execution with automatic backend detection
Source:R/setup_parallel_execution.R
setup_parallel_execution.RdInternal helper to manage parallel backend setup with support for user-managed backends, external clusters, and internal clusters.
Usage
setup_parallel_execution(cluster = NULL, n.cores = parallel::detectCores() - 1)