addFinalizerToLast

0th

Percentile

Modifies .Last() to call 'finalizeSession()

Modifies .Last() to call 'finalizeSession() before calling the default .Last() function.

Note that .Last() is not guaranteed to be called when the R session finished. For instance, the user may quit R by calling quit(runLast=FALSE) or run R in batch mode.

Note that this function is called when the R.utils package is loaded.

Keywords
programming
Usage
# S3 method for default
addFinalizerToLast(...)
Arguments
...

Not used.

Value

Returns (invisibly) TRUE if .Last() was modified, otherwise FALSE.

See Also

onSessionExit().

Aliases
  • addFinalizerToLast.default
  • addFinalizerToLast
Documentation reproduced from package R.utils, version 2.8.0, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.