convert {XRPython}R Documentation

Convert Proxy Objects between XRPython and reticulate

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

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


[Package XRPython version 0.8 Index]