ProxyFunction-class {XR} | R Documentation |
A Class for Proxy Functions
Description
A class for functions in R that call functions in a server language. The arguments in a call are converted to
equivalent server language objects, via asServerObject()
. These usually include proxy
objects in R for results previously computed through the same interface evaluator.
Details
This class is always subclassed for a particular server language. Proxy functions for that language will use a corresponding evaluator to find metadata about the server function.
Slots
.Data
the function
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, identifying which server lanaguage is involved.
serverDoc
documentation for the server language function
serverArgs
the formal arguments of the server language function, if known
References
Chambers, John M. (2016) Extending R, Chapman & Hall/CRC. ( Chapter 13, discussing this package, is included in the package: ../doc/Chapter_XR.pdf.)