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.
This package provides R API to create, manipulate, parse and serialize protocol buffer messages from R
Romain Francois, Dirk Eddelbuettel, Murray Stokely and Jeroen Ooms.
Message for some examples
1 2 3 4 5 6 7 8 9 10 11 12 13 14
## Not run: # an example proto file system.file( "proto", "addressbook.proto", package = "RProtoBuf" ) # create a message of type AddressBook, defined in the example proto file demo( "addressbook", package = "RProtoBuf" ) # using R binary connections and files to read and write messages demo( "io", package = "RProtoBuf" ) # more documentation in the vignette vignette( "RProtoBuf", package = "RProtoBuf" ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.