Function that allows to apply parallel processing
MRGcluster(nclus, ..., action = "start", clusType, outfile = NULL)The function will either return a cluster for parallel computation, or stop a cluster (returning NULL)
Number of clusters to use for parallel processing. No parallelization is used
for nclus = 1.
arguments that should be evaluated in the cluster (can also be called later)
Defines the action of the function. There are three options:
Starts a new cluster if necessary, reuses an existing if it has already been started
Stops the cluster and starts it again. To be used in case there are difficulties with the cluster, or if the user wants to change the type of the cluster
The type of cluster; see makeCluster for more details.
The default of makeCluster is used if type is missing or NA.
File to direct the output, makeCluster for more details.