The R Journal: accepted article

This article will be copy edited and may be changed before publication.

RcppMsgPack: MessagePack Headers and Interface Functions for R PDF download
Travers Ching and Dirk Eddelbuettel

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.6 Mb)
CRAN packages: mongolite, RProtoBuf, RcppRedis, RcppMsgPack, Rcpp, nanotime, httr, feather, data.table
CRAN Task Views implied by cited CRAN packages: HighPerformanceComputing, Databases, NumericalMathematics, Finance, WebTechnologies


CC BY 4.0
This article and supplementary materials are licensed under a Creative Commons Attribution 4.0 International license.

@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://journal.r-project.org/archive/2018/RJ-2018-068/index.html}
}