convert: Convert Proxy Objects between XRPython and reticulate

Description Usage Arguments Functions

Description

Packages XRPython and reticulate both support proxies for Python objects; that is, R objects that are proxies for objects created in Python by evaluations in the respective packages. Function fromRtclt() returns the equivalent XRPython proxy object given a reticulate object. Function toRtclt() returns the equivalent reticulate proxy object given an XRPython object. Normally, no copying is involved in either direction.

Usage

1
2
3
fromRtclt(obj, .ev = XRPython::RPython())

toRtclt(obj, .ev = XRPython::RPython())

Arguments

obj

a proxy object, computed in XRPython for toRtclt or by reticulate for fromRtclt

.ev

an XRPython evaluator, by default and usually the current evaluator.

Functions


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