| snowFT-startstop {snowFT} | R Documentation |
Functions to start a snowFT cluster and to set default cluster options.
makeClusterFT(spec, type = getClusterOption("type"), ...)
spec |
Cluster specification. |
type |
Character string that specifies cluster type. Only type="PVM" supported. |
... |
cluster option specifications |
makeClusterFT starts a cluster of the specified or default type, loads the snowFT library on each node
and returns a reference to the cluster. Only the cluster type
"PVM" is supported in this version. The spec argument should be an integer
specifying the number of slave nodes to create. See setDefaultClusterOptions() of the snow package for setting cluster options.
The cluster should be stopped by stopCluster of the snow package.
snow-startstop functions of the snow package.
## Not run:
cl <- makeClusterFT(5)
res <- clusterApplyFT(cl, 1:10, get("+"), 3)
stopCluster(res[[2]])
print(res[[1]])
## End(Not run)