he R Communicator accepts lists of either 'numeric' or 'character' and
matrixes of 'numeric' on R side.
It accepts strings, integers, floatings, lists and numpy.matrixes on the
Python side.
To implement custom data marshaling, examine the files channel.py, io.py and
make additions to io.py using the existing code as a recipe. The R code needs
not to be changed.
|