 to
memory-leaks.</p>
<p>As users of R are used to objects being automatically
garbage-collected, such a behavior could pose a significant problem in
R. In order to avoid any issues, the closing of HDF5-IDs is therefore
done automatically using the R garbage collection mechanism.</p>
<p>For every id that is created in the C-code and passed back to R, an
R6-class object is created that is non-cloneable. During creating, the
finalizer (see reg.finalizer) is set so that during garbage collection
of the R6-clas