Free: Explicitly garbage collect a native object

FreeR Documentation

Explicitly garbage collect a native object

Description

This function allows the R programmer to explicitly release a native C/C++ object and free the memory associate with it. This is used when the usual garbage collection will not work by adding a finalizer when the R reference is created.

Usage

Free(obj, recursive = FALSE, ...)

Arguments

obj

the reference to the native object that is to be released

recursive

a logical value indicating whether to free any fields within the object that are also references.

...

potential additional parameters for use by methods

Value

NULL

Author(s)

Duncan Temple Lang

See Also

generated constructors by RGCCTranslationUnit


omegahat/RAutoGenRunTime documentation built on Jan. 12, 2023, 9:19 p.m.