R/zzz.r

Defines functions .onUnload .onLoad

.onLoad <- function(libname, pkgname) {
    # Register plugins and spin up Blosc thread pools once per session
    .Call("C_register_hdf5_filters", PACKAGE = "h5lite") # nocov
}

.onUnload <- function(libpath) {
    # Cleanly tear down threads and free memory to prevent Valgrind warnings
    .Call("C_destroy_hdf5_filters", PACKAGE = "h5lite") # nocov
}

Try the h5lite package in your browser

Any scripts or data that you put into this service are public.

h5lite documentation built on May 19, 2026, 1:07 a.m.