powered by
Coerce an Object to a Cluster Object
as.cluster(x, ...)# S3 method for cluster as.cluster(x, ...)# S3 method for list as.cluster(x, ...)# S3 method for SOCKnode as.cluster(x, ...)# S3 method for SOCK0node as.cluster(x, ...)# S3 method for cluster c(..., recursive = FALSE)
# S3 method for cluster as.cluster(x, ...)
# S3 method for list as.cluster(x, ...)
# S3 method for SOCKnode as.cluster(x, ...)
# S3 method for SOCK0node as.cluster(x, ...)
# S3 method for cluster c(..., recursive = FALSE)
An object to be coerced.
Additional arguments passed to the underlying coercion method. For c(...), the clusters and cluster nodes to be combined.
c(...)
Not used.
An object of class cluster.
cluster
c(...) combine multiple clusters and / or cluster nodes into one cluster returned as an of class cluster.
# NOT RUN { cl1 <- makeClusterPSOCK(2, dryrun = TRUE) cl2 <- makeClusterPSOCK(c("n1", "server.remote.org"), dryrun = TRUE) cl <- c(cl1, cl2) print(cl) # }
Run the code above in your browser using DataLab