parallel_start: Start parallel clusters using 'parallel' package

Description Usage Arguments Details Examples

View source: R/control-par.R

Description

Start parallel clusters using parallel package

Usage

1
2
3

Arguments

...

Parameters passed to parallel::makeCluster()

Details

Performs 3 Steps:

  1. Makes clusters using parallel::makeCluster()

  2. Registers clusters using doParallel::registerDoParallel()

  3. Adds .libPaths() using parallel::clusterCall()

Examples

1
2
3
4
5
# Starts 2 clusters
parallel_start(2)

# Returns to sequential processing
parallel_stop()

modeltime documentation built on July 16, 2021, 9:08 a.m.