callHooks.function {R.utils} | R Documentation |
Call hook functions.
## S3 method for class 'function': callHooks(hooks, ...)
hooks |
A function or a list of hook function s or names of such. |
... |
Argument passed to each hook function. |
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
.
Henrik Bengtsson (http://www.braju.com/R/)
See callHooks
() to call hook function by name.
See UserHooks how to set hooks.