| PythonFunction-class | R Documentation |
A class and generator function for proxies in R for Python functions.
An object from this class is an R function that is a proxy for a function in Python. Calls to the R function evaluate a call to the Python function. The arguments in the call are converted to equivalent Python objects; these typically include proxy objects for results previously computed through the XRPython interface.
namethe name of the server language function
modulethe name of the module, if that needs to be imported
evaluatorClassthe class for the evaluator, by default and usually, PythonInterface
serverDocthe docstring from Python, if any.
serverArgsthe Python argument names (not currently used).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.