https://github.com/cran/doParallel
Tip revision: 105255fdd13c946ab65b2424ce6e399c0a1b547e authored by Revolution Analytics on 06 December 2011, 00:00:00 UTC
version 1.0.0
version 1.0.0
Tip revision: 105255f
zzz.R
".onUnload" <- function(libpath) {
if (exists(".revoDoParCluster", where=1) && !is.null(.revoDoParCluster)) {
stopCluster(.revoDoParCluster)
remove(".revoDoParCluster", where=1)
}
}