powered by
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.
registerDoSEQ
%dopar%
registerDoSEQ()
doParallel::registerDoParallel
# NOT RUN { # specify that %dopar% should run sequentially registerDoSEQ() # }
Run the code above in your browser using DataLab