callHooks.function

0th

Percentile

Call hook functions

Call hook functions.

Keywords
methods, programming
Usage
# S3 method for function
callHooks(hooks, ...)
Arguments
hooks

A function or a list of hook functions or names of such.

...

Argument passed to each hook function.

Value

Returns (invisibly) a list that is named with hook names, if possible. Each element in the list is in turn a list with three element: fcn is the hook function called, result is its return value, and exception is the exception caught or NULL.

See Also

See callHooks() to call hook function by name.

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

Community examples

Looks like there are no examples yet.