https://github.com/cran/doParallel
Revision b17d866a871ca8ab0d7e6d03c7f35e05fee010aa authored by Revolution Analytics on 12 April 2012, 00:00:00 UTC, committed by Gabor Csardi on 12 April 2012, 00:00:00 UTC
1 parent 105255f
Raw File
Tip revision: b17d866a871ca8ab0d7e6d03c7f35e05fee010aa authored by Revolution Analytics on 12 April 2012, 00:00:00 UTC
version 1.0.1
Tip revision: b17d866
zzz.R
".onUnload" <- function(libpath) {
	if (exists(".revoDoParCluster", where=1) && !is.null(.revoDoParCluster)) {
		stopCluster(.revoDoParCluster)
		remove(".revoDoParCluster", where=1)
	}
}
back to top