Protocol Buffers are a way of encoding structured data in an efficient yet extensible format. Google uses Protocol Buffers for almost all of its internal 'RPC' protocols and file formats. Additional documentation is available in two included vignettes one of which corresponds to our paper in the Journal of Statistical Software (2016, v71i02). Either version 2 or 3 of the 'Protocol Buffers' 'API' is supported.
R Interface to Google Protocol Buffers
A serialization format developed by Google and used widely within Google, and by numerous other projects. Quoting from the official website: extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler. You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages.
but do make sure you have the system requirements covered when building from source.
Under Debian/Ubuntu you may need
sudo apt-get install protobuf-compiler libprotobuf-dev libprotoc-dev
with similar commands on other operating systems or distributions.
The package contains two pdf vignettes; the second one corresponds to our JSS paper.
Romain Francois, Dirk Eddelbuettel, Murray Stokely and Jeroen Ooms
GPL (>= 2)