PythonFunction-class {XRPython}R Documentation

Proxy Objects in R for Python Functions

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).


[Package XRPython version 0.8 Index]