stopCluster | R Documentation |
Stop the cluster
stopCluster(cluster)
cluster |
The cluster to stop |
fun <- function(x) {
return (x^2)
}
cluster <- makeCluster(numberOfThreads = 3)
clusterApply(cluster, 1:10, fun)
stopCluster(cluster)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.