inst/tests/proxyToJSON.R

require(XR)
ev <- XRPython::RPython()
po = ev$proxyObject
x1 = ev$Convert(1:3)
ll = list(x=1, y = matrix(1:12,3,4))
ll$z <- x1
asServerObject(ll, po)

Try the XR package in your browser

Any scripts or data that you put into this service are public.

XR documentation built on May 2, 2019, 6:01 a.m.