Release the specified object and clean up its memory usage
This generic function is available for explicitly releasing the memory associated with the given object. It is intended for use on external pointer objects which do not have an automatic finalizer function/routine that cleans up the memory that is used by the native object. This is the case, for example, for an XMLInternalDocument. We cannot free it with a finalizer in all cases as we may have a reference to a node in the associated document tree. So the user must explicitly release the XMLInternalDocument object to free the memory it occupies.
the object whose memory is to be released, typically an external pointer object or object that contains a slot that is an external pointer.
The methods will generally call a C routine to free the native memory.
An updated version of the object with the external address set to NIL. This is up to the individual methods.
Duncan Temple Lang
useInternalNodes = TRUE
1 2 3 4 5
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.