R Interface to the 'Protocol Buffers' 'API' (Version 2 or 3)

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.

Protocol Buffers natively support C++, C#, Go, Java and Python. Many other languages are supported via contributed extensions. This package adds support for R.

You can either install from source via this repo, or install the CRAN package the usual way from R via

install.packages("RProtoBuf")

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)

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("RProtoBuf")

0.4.7 by Dirk Eddelbuettel, a month ago


https://github.com/eddelbuettel/rprotobuf


Report a bug at https://github.com/eddelbuettel/rprotobuf/issues


Browse source code at https://github.com/cran/RProtoBuf


Authors: Romain Francois, Dirk Eddelbuettel, Murray Stokely and Jeroen Ooms


Documentation:   PDF Manual  


Task views: High-Performance and Parallel Computing with R


GPL (>= 2) license


Imports utils, stats, tools, Rcpp, RCurl

Depends on methods

Suggests RUnit, highlight

Linking to Rcpp

System requirements: ProtoBuf libraries and compiler version 2.2.0 or later; version 3.0.0 or later is supported as well. On Debian/Ubuntu these can be installed as libprotoc-dev and libprotobuf-dev, while on Fedora/CentOS protobuf-devel and protobuf-compiler are needed.


Suggested by protolite.

Enhanced by HistogramTools.


See at CRAN