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.
fromRtclt(obj, .ev = XRPython::RPython())toRtclt(obj, .ev = XRPython::RPython())
a proxy object, computed in XRPython for toRtclt
or by reticulate for fromRtclt
an XRPython evaluator, by default and usually the current evaluator.
fromRtclt
: Convert from reticulate to XRPython
toRtclt
: Convert from XRPython to reticulate