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.
Note that on a snowFT cluster all snow functions can be applied, whereas on a
cluster created by makeCluster
of the snow package the snowFT functions will not work unless
the snowFT library is loaded on all nodes.
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)