PythonFunction-class: Proxy Objects in R for Python Functions

Description Details Slots

Description

A class and generator function for proxies in R for Python functions.

Details

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.

Slots

name

the name of the server language function

module

the name of the module, if that needs to be imported

evaluatorClass

the class for the evaluator, by default and usually, PythonInterface

serverDoc

the docstring from Python, if any.

serverArgs

the Python argument names (not currently used).


XRPython documentation built on May 2, 2019, 9:33 a.m.