<p><div><div><div><div data-show-faces="false" data-height="21" data-width="100" data-layout="button_count" data-send="true" data-href="https://www.r-bloggers.com/rcppmsgpack-0-2-0/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://dirk.eddelbuettel.com/blog/2017/09/13#rcppmsgpack_0.2.0"> Thinking inside the box </a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>A new and much enhanced version of <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.msgpack.html" target="_blank">RcppMsgPack</a> arrived on <a rel="nofollow" href="https://cran.r-project.org/" target="_blank">CRAN</a> a couple of days ago. It came together following <a rel="nofollow" href="https://stat.ethz.ch/pipermail/r-package-devel/2017q3/001840.html" target="_blank">this email</a> to the <a rel="nofollow" href="https://stat.ethz.ch/mailman/listinfo/r-package-devel" target="_blank">r-package-devel list</a> which made it apparent that <a rel="nofollow" href="http://travers.im/" target="_blank">Travers Ching</a> had been working on <a rel="nofollow" href="http://msgpack.org/" target="_blank">MessagePack</a> converters for R which required the very headers I had for use from, inter alia, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcppredis.html" target="_blank">RcppRedis</a> package.</p>
<p>So we joined our packages. I updated the headers in <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.msgpack.html" target="_blank">RcppMsgPack</a> to the current upstream version 2.1.5 of <a rel="nofollow" href="http://msgpack.org/" target="_blank">MessagePack</a>, and <a rel="nofollow" href="http://travers.im/" target="_blank">Travers</a> added his helper functions allow direct packing / unpacking of <a rel="nofollow" href="http://msgpack.org/" target="_blank">MessagePack</a> objects at the R level, as well as tests and a draft vignette. Very exciting, and great to have a coauthor!</p>
<p>So now RcppMspPack provides <a rel="nofollow" href="https://www.r-project.org/" target="_blank">R</a> with both <a rel="nofollow" href="http://msgpack.org/" target="_blank">MessagePack</a> header files for use via C++ (or C, if you must) packages such as <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcppredis.html" target="_blank">RcppRedis</a> — and direct conversion routines at the R prompt.</p>
<p><a rel="nofollow" href="http://msgpack.org/" target="_blank">MessagePack</a> itself 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.</p>
<blockquote>
<h4>Changes in version 0.2.0 (2017-09-07)</h4>
<ul>
<li>
<p>Added support for building on Windows</p>
</li>
<li>
<p>Upgraded to MsgPack 2.1.5 (<a rel="nofollow" href="https://github.com/eddelbuettel/rcppmsgpack/pull/3" target="_blank">#3</a>)</p>
</li>
<li>
<p>New R functions to manipulate MsgPack objects: msgpack_format, msgpack_map, msgpack_pack, msgpack_simplify, mgspack_unpack (<a rel="nofollow" href="https://github.com/eddelbuettel/rcppmsgpack/pull/4" target="_blank">#4</a>)</p>
</li>
<li>
<p>New R functions also available as msgpackFormat, msgpackMap, msgpackPack, msgpackSimplify, mgspackUnpack (<a rel="nofollow" href="https://github.com/eddelbuettel/rcppmsgpack/pull/4" target="_blank">#4</a>)</p>
</li>
<li>
<p>New vignette (<a rel="nofollow" href="https://github.com/eddelbuettel/rcppmsgpack/pull/4" target="_blank">#4</a>)</p>
</li>
<li>
<p>New tests (<a rel="nofollow" href="https://github.com/eddelbuettel/rcppmsgpack/pull/4" target="_blank">#4</a>)</p>
</li>
</ul>
</blockquote>
<p>Courtesy of <a rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries/" target="_blank">CRANberries</a>, there is also a diffstat report for this <a rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries/2017/09/07#RcppMsgPack_0.2.0" target="_blank">release</a>. More information is on the <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.msgpack.html" target="_blank">RcppRedis page</a>.</p>
<p>More information may be on the <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.msgpack.html" target="_blank">RcppMsgPack</a> page. Issues and bugreports should go to the <a rel="nofollow" href="https://github.com/eddelbuettel/rcppmsgpack/issues" target="_blank">GitHub issue tracker</a>.</p>
<p>
This post by <a rel="nofollow" href="http://dirk.eddelbuettel.com/" target="_blank">Dirk Eddelbuettel</a> originated on his <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/" target="_blank">Thinking inside the box</a> blog. Please report excessive re-aggregation in third-party for-profit settings.</p>
<p>
	<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://dirk.eddelbuettel.com/blog/2017/09/13#rcppmsgpack_0.2.0"> Thinking inside the box </a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a rel="nofollow" href="https://www.r-project.org/" title="The R Project for Statistical Computing">R</a> news and <a rel="nofollow" href="https://www.r-bloggers.com/search/tutorial" title="R tutorials">tutorials</a> on topics such as: <a rel="nofollow" href="https://www.r-bloggers.com/search/data%20science" title="Data science">Data science</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data" title="Big Data">Big Data, <a rel="nofollow" href="https://www.r-users.com/" title="R jobs">R jobs</a>, visualization (<a rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2" title="ggplot and ggplot2 tutorials">ggplot2</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/boxplot" title="Boxplots using lattice and ggplot2 tutorials">Boxplots</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/map" title="Maps and gis">maps</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/animation" title="Animation in R">animation</a>), programming (<a rel="nofollow" href="https://www.r-bloggers.com/search/RStudio" title="RStudio IDE for R">RStudio</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/sweave" title="Sweave and literate programming">Sweave</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX" title="LaTeX in R">LaTeX</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/SQL" title="SQL and databases">SQL</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/eclipse" title="Eclipse IDE for R">Eclipse</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/git" title="git and github, Version Control System">git</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/hadoop" title="Large data in R using Hadoop">hadoop</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping" title="Web Scraping of google, facebook, yahoo, twitter and more using R">Web Scraping</a>) statistics (<a rel="nofollow" href="https://www.r-bloggers.com/search/regression" title="Regressions and ANOVA analysis tutorials">regression</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/PCA" title="principal component analysis tutorial">PCA</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/time+series" title="Time series">time series</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/trading" title="finance trading">trading</a>) and more...
<img width="1" alt="" src="http://feeds.feedburner.com/~r/RBloggers/~4/xbtskRaa9mY" height="1"></a></div>