Registers a finalizer to a cluster such that the cluster will be stopped when garbage collected
autoStopCluster(cl, debug = FALSE)
A cluster object created by for instance
If TRUE, then debug messages are produced when the cluster is garbage collected.
The cluster object with attribute
The cluster is stopped using
cl <- makeClusterPSOCK(2, dryrun = TRUE) cl <- autoStopCluster(cl) print(cl) rm(list = "cl") gc()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.