Conversions between reticulate and rchitect objects are seamless - randy3k/rchitect GitHub Wiki
Python side
from rchitect import *
reval("library(reticulate)");
# py to r (this direction is not usual in Python)
chars = reval("""
py_eval("reval('LETTERS')")
""")
rcall("py_to_r", chars)
# r to py
class Foo(object):
pass
foo = Foo()
rcall("r_to_py", robject(foo))
R side
library(reticulate)
py_run_string("from rchitect import *")
# py to r
chars = py_eval("reval('LETTERS')")
py_to_r(chars)
# r to py (this direction is not usual in R)
py_run_string("class Foo(object): pass")
py_run_string("foo = Foo()")
foo = py_to_r(py_eval("robject(foo)"))
r_to_py(foo)