Package: RcppMsgPack

RcppMsgPack: 'MsgPack' C++ Header Files and Interface Functions for R

'MsgPack' header files are provided for use by R packages, along with the ability to access, create and alter 'MsgPack' objects directly from R. 'MsgPack' is an efficient binary serialization format. It lets you exchange data among multiple languages like 'JSON' but it is faster and smaller. Small integers are encoded into a single byte, and typical short strings require only one extra byte in addition to the strings themselves. This package provides headers from the 'msgpack-c' implementation for C and C++(11) for use by R, particularly 'Rcpp'. The included 'msgpack-c' headers are licensed under the Boost Software License (Version 1.0); the code added by this package as well the R integration are licensed under the GPL (>= 2). See the files 'COPYRIGHTS' and 'AUTHORS' for a full list of copyright holders and contributors to 'msgpack-c'.

Authors:Travers Ching and Dirk Eddelbuettel; the authors and contributors of MsgPack

RcppMsgPack.pdf |RcppMsgPack.html
RcppMsgPack/json (API)

# Install RcppMsgPack in R:
install.packages('RcppMsgPack', repos = c('', ''))

Peer review:

Bug tracker:

Uses libs:
  • c++– GNU Standard C++ Library v3



20 exports 19 stars 2.35 score 2 dependencies 2 dependents

Last updated 23 days agofrom:4c2585adcd0beefca586141c5bd61e99d16d9e3a



Using RcppMsgPack

Rendered fromvignette.rmdusingknitr::rmarkdownon May 22 2024.

Last update: 2017-09-14
Started: 2017-09-06

Readme and manuals

Help Manual

Help pageTopics
'MsgPack' C++ Header Files and Interface Functions for RRcppMsgPack-package RcppMsgPack
Simple MsgPack ExamplearrayEx
Second simple MsgPack ExampleenumEx
Format data for 'MsgPack'msgpackFormat msgpack_format
'MsgPack' MapmsgpackMap msgpack_map
'MsgPack' PackmsgpackPack msgpack_pack
'MsgPack' readmsgpackRead msgpack_read
Simplify 'MsgPack'msgpackSimplify msgpack_simplify
'MsgPack' TimestampmsgpackTimestampDecode msgpack_timestamp_decode
'MsgPack' TimestampmsgpackTimestampEncode msgpack_timestamp_encode
'MsgPack' UnpackmsgpackUnpack msgpack_unpack
'MsgPack' writemsgpackWrite msgpack_write