add alternative approach from 2013-01
[synclust.git] / R / zzz.R
1 #called when package is detached ( detach("package:pkg_name") )
2 .onDetach = function(libpath)
3 {
4 library.dynam.unload("synclust", libpath)
5 }