add_hook | R Documentation |
This function allows users of callr
to specify functions that get invoked
whenever an R session is launched. The function can modify the environment
variables and command line arguments.
add_hook(...)
... |
Named argument specifying a hook function to add, or |
The prototype of the hook function is function (options)
, and it is
expected to return the modified options
.
add_hook
is called for its side-effects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.