Learn R Programming

R.oo (version 1.7.5)

registerFinalizer.Object: Registers a finalizer hook for the object

Description

Registers a finalizer hook for the object. The finalizer hook calls *finalize() on the Object when it is garbage collected. This method is only intended to be called inside the constructor, if at all.

Usage

## S3 method for class 'Object':
registerFinalizer(this, ...)

Arguments

...
Not used.

Value

  • Returns nothing.

See Also

Internally, reg.finalizer() is used. For more information see Object.