sfQuickStop {spatial.tools}R Documentation

Quickly stops a parallel snowfall cluster and deregisters it from foreach.

Description

Quickly stops a parallel snowfall cluster and deregisters it from foreach.

Usage

sfQuickStop(kill = FALSE, ...)

Arguments

kill

Logical. If TRUE, attempt to force-quit cluster if you get an out-of-control situation. Default=FALSE.

...

parameters to pass to sfStop()

Details

(Even more) quickly stop a snowfall cluster and sets foreach back to sequential mode via registerDoSEQ().

Author(s)

Jonathan A. Greenberg

Examples

sfQuickInit(cpus=2)
sfQuickStop()

[Package spatial.tools version 1.6.0 Index]