Remove other resources associated with an object.

Share:

Description

Remove other resources associated with an object prior to its removal by the tracking system. This S3 generic function exists so that methods can be specified for cleaning up particular objects.

Usage

1
track.preremove(obj, objName, envir, ...)

Arguments

obj

The R object that will be removed.

objName

The name of the R object that will be removed.

envir

The environment in which the object exists (i.e., the tracked environment, not the tracking environment.)

...

Other arguments.

Details

A track.preremove() method should clean up other resources (e.g., files) associated with obj. The track.remove() first calls track.preremove() and then will removes obj from the system after the call to track.preremove() has returned.

Value

Return values are ignored.

Author(s)

Tony Plate tplate@acm.org

See Also

track.remove