AssignedProxy-class {XR}R Documentation

Class for Assigned Proxy Objects and Related Mechanisms

Description

The 'AssignedProxy' class is used by interface packages to return a reference to an assigned server object. The R user can then supply this object anywhere in later interface computations, just as one would use the name of an R object in a function call or other expression.

Details

The virtual class 'ProxyObject' is a superclass, designed to allow other mechanisms for proxy objects (none exists at this time).

Slots

.Data

The 'AssignedProxy' class is a subclass of 'character'; the actual character string will be generated by the interface and is unique over the session, so long as the 'XR' package stays loaded.

serverClass,module

The server language class and module for the corresponding object.

size

The size (usually, length) of the server object, if that makes sense. Can be used to make decisions about handling large objects.

evaluator

The evaluator object that returned the proxy. Having this as a slot allows interface computations to operate directly on the proxy, without a user-supplied evaluator.

References

Chambers, John M. (2016) Extending R, Chapman & Hall/CRC. ( Chapter 13, discussing this package, is included in the package: ../doc/Chapter_XR.pdf.)


[Package XR version 0.7.2 Index]