RcppMsgPack: MessagePack Headers and Interface Functions for R
Travers Ching and Dirk Eddelbuettel
, The R Journal (2018) 10:2, pages 516-525.
Abstract MessagePack, or MsgPack for short, or when referring to the implementation, is an efficient binary serialization format for exchanging data between different programming languages. The RcppMsgPack package provides R with both the MessagePack C++ header files, and the ability to access, create and alter MessagePack objects directly from R. The main driver functions of the R interface are two functions msgpack_pack and msgpack_unpack. The function msgpack_pack serializes R objects to a raw MessagePack message. The function msgpack_unpack de-serializes MessagePack messages back into R objects. Several helper functions are available to aid in processing and formatting data including msgpack_simplify, msgpack_format and msgpack_map.
Received: 2018-07-31; online 2018-12-08, supplementary material, (1 MiB)@article{RJ-2018-068, author = {Travers Ching and Dirk Eddelbuettel}, title = {{RcppMsgPack: MessagePack Headers and Interface Functions for R}}, year = {2018}, journal = {{The R Journal}}, doi = {10.32614/RJ-2018-068}, url = {https://doi.org/10.32614/RJ-2018-068}, pages = {516--525}, volume = {10}, number = {2} }