Quickly stops a parallel snowfall cluster and deregisters it from foreach.
sfQuickStop(kill = FALSE, ...)
Logical. If TRUE, attempt to force-quit cluster if you get an out-of-control situation. Default=FALSE.
parameters to pass to sfStop()
(Even more) quickly stop a snowfall cluster and sets foreach back to sequential mode via registerDoSEQ().
# NOT RUN { sfQuickInit(cpus=2) sfQuickStop() # }
Run the code above in your browser using DataCamp Workspace