Description Usage Arguments Value See Also Examples
View source: R/Clusterfunctions.r
Once verified, Assess the health of cluster and return status and PIDs to be terminated
1 | AssesCluster(RetrievedClusterList, verbose = F)
|
RetrievedClusterList |
Output from VerifyCluster |
verbose |
print output, defaults to FALSE |
a AssessedClusterObject with additional Assesment and PIDStoBeTerminated field
VerifyCluster
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
# Make sure not to use a tempfile as in this example below
# ConnectClusterDB(DBdir = dirname(tempfile()))
# but rather e.g.:
\dontrun{
ConnectClusterDB(DBdir = "C:")
}
ConnectClusterDB(ResetDB = T, dirname(tempfile()))
cl <- parallel::makePSOCKcluster(names = 2)
doParallel::registerDoParallel(cl)
hash <- AddNewClustertoDB(cl)
ClusterData <- VerifyCluster(ClusterHash = hash)
AssesCluster(ClusterData)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.