py_register_load_hook | R Documentation |
Register an R function to be called when a Python module is first loaded in the current R session. This can be used for tasks such as:
py_register_load_hook(module, hook)
module |
String, the name of the Python module. |
hook |
Function, called with no arguments. If |
Delayed registration of S3 methods to accommodate different versions of a Python module.
Configuring module-specific logging streams.
NULL
invisibly. Called for its side effect.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.