Learn R Programming

track (version 1.1.9)

track.preremove: Remove other resources associated with an object.

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

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.

Value

Return values are ignored.

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.

See Also

track.remove