A helper function to format R data for input to 'MsgPack'.
msgpack_format(x)msgpackFormat(x)
msgpackFormat(x)
An r object.
A formatted R object to use as input to msgpack_pack. Vectors are converted into Lists.
# NOT RUN { x <- msgpack_format(1:10) x_packed <- msgpack_pack(x) x_unpacked <- msgpack_unpack(x_packed) x_simplified <- msgpack_simplify(x_unpacked) # }
Run the code above in your browser using DataLab