Unregsiter a parallel processing cluster

stop_parallel(pcluster)

Arguments

pcluster

a PSOCK cluster created by `setup_cluster``

Author

Kelly Sovacool, sovacool@umich.edu

Examples

para_cluster <- setup_parallel(2)
#> Using 2 cores for parallel processing.
# insert code that uses foreach here stop_parallel(para_cluster)