Learn R Programming

foreach (version 1.5.2)

registerDoSEQ: registerDoSEQ

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

registerDoSEQ()

Arguments

See Also

doParallel::registerDoParallel

Examples

Run this code
# NOT RUN {
# specify that %dopar% should run sequentially
registerDoSEQ()
# }

Run the code above in your browser using DataLab