registerDoSEQ: registerDoSEQ

Description Usage See Also Examples

View source: R/do.R

Description

The registerDoSEQ function is used to explicitly register a sequential parallel backend with the foreach package. This will prevent a warning message from being issued if the %dopar% function is called and no parallel backend has been registered.

Usage

1

See Also

doParallel::registerDoParallel

Examples

1
2
# specify that %dopar% should run sequentially
registerDoSEQ()

Example output



foreach documentation built on Feb. 2, 2022, 5:09 p.m.