stopCluster: Stop the cluster

View source: R/Cluster.R

stopClusterR Documentation

Stop the cluster

Description

Stop the cluster

Usage

stopCluster(cluster)

Arguments

cluster

The cluster to stop

Examples

fun <- function(x) {
  return (x^2)
}

cluster <- makeCluster(numberOfThreads = 3)
clusterApply(cluster, 1:10, fun)
stopCluster(cluster)

ParallelLogger documentation built on Aug. 22, 2023, 5:11 p.m.