RProtoBuf: 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.

AuthorRomain Francois, Dirk Eddelbuettel, Murray Stokely and Jeroen Ooms
Date of publication2017-01-17 19:41:15
MaintainerDirk Eddelbuettel <edd@debian.org>
LicenseGPL (>= 2)
Version0.4.8
https://github.com/eddelbuettel/rprotobuf

View on CRAN

Man pages

add: add elements of a repeated field of a message

ArrayInputStream-class: Class "ArrayInputStream"

ArrayInputStream-methods: Creates an ArrayInputStream

ArrayOutputStream-class: Class "ArrayOutputStream"

ArrayOutputStream-methods: Creates an ArrayOutputStream

aslist: Grab the protocol buffer message as an R list

asMessage: coerce an object to a protobuf message

BackUp-methods: Backs up a number of bytes from a stream

ByteCount-methods: The number of bytes read/written since the object was created

bytesize: The number of bytes taken by a message

clear: Clear a field or all fields of the message and set them to...

clone: Clone protocol buffer messages

completion: Completion support for protocol buffer messages and...

ConnectionInputStream-class: Class "ConnectionInputStream"

ConnectionInputStream-methods: Creates an ConnectionInputStream

ConnectionOutputStream-class: Class "ConnectionOutputStream"

ConnectionOutputStream-methods: Creates an ConnectionOutputStream

containing_type-methods: Gets the message type descriptor that contains a descriptor

descriptor: Get the descriptor of a message

Descriptor-class: Class "Descriptor"

EnumDescriptor-class: Class "EnumDescriptor"

enum_type: Extract an enum type descriptor for a nested type

enum_type_count: The number of enum types

EnumValueDescriptor-class: Class "EnumValueDescriptor"

fetch: Fetch content of a repeated field

field: Extract a field descriptor

field_count: The number of fields

FieldDescriptor-class: Class "FieldDescriptor"

fileDescriptor: gets the file descriptor of an object

FileDescriptor-class: Class "FileDescriptor"

FileInputStream-class: Class "FileInputStream"

FileInputStream-methods: Creates an FileInputStream

FileOutputStream-class: Class "FileOutputStream"

FileOutputStream-methods: Creates an FileOutputStream

GetErrno-methods: Get the error number for an I/O error

has: Indicates if an object has the given field set

invokeLocally: invoke a protobuf rpc method

is_extension: Indicates if a field descriptor is an extension

isInitialized: Indicates if a protocol buffer message is initialized

label: Gets the label of a field

merge: Merge two messages of the same type

Message-class: Class "Message"

MethodDescriptor-class: Class "MethodDescriptor"

name: Name or full name of a descriptor

nested_type: Extract a message type descriptor for a nested type

nested_type_count: The number of fields

Next-methods: Obtains a chunk of data from the stream

number: Gets the declared tag number of a field

P: Protocol Buffer descriptor importer

read: Read a protocol buffer message from a connection

readASCII: read a message in ASCII format

readProtoFiles: protocol buffer descriptor importer

RpcHTTP-class: Class "RpcHTTP"

RProtoBuf-package: R Interface to the Protocol Buffers API

serialize_pb: Serialize R object to Protocol Buffer Message.

ServiceDescriptor-class: Class "ServiceDescriptor"

set: set a subset of values of a repeated field of a message

SetCloseOnDelete-methods: set the close on delete behavior

size: Size of a message field

sizegets: Set the size of a field

Skip-methods: Skips a number of bytes

swap: swap elements of a repeated field of a message

type: Gets the type or the C++ type of a field

with: with and within methods for protocol buffer messages

ZeroCopyInputStream-class: Virtual Class "ZeroCopyInputStream"

ZeroCopyOutputStream-class: Virtual Class "ZeroCopyOutputStream"

Files in this package

RProtoBuf
RProtoBuf/TODO
RProtoBuf/inst
RProtoBuf/inst/examples
RProtoBuf/inst/examples/addressbook.pb
RProtoBuf/inst/CITATION
RProtoBuf/inst/python
RProtoBuf/inst/python/writemsg.R
RProtoBuf/inst/python/runtest.sh
RProtoBuf/inst/python/readmsg.py
RProtoBuf/inst/NEWS.Rd
RProtoBuf/inst/THANKS
RProtoBuf/inst/doc
RProtoBuf/inst/doc/RProtoBuf-unitTests.pdf
RProtoBuf/inst/doc/RProtoBuf-paper.Rnw
RProtoBuf/inst/doc/RProtoBuf-intro.Rnw
RProtoBuf/inst/doc/RProtoBuf-intro.pdf
RProtoBuf/inst/doc/RProtoBuf-unitTests.Rnw
RProtoBuf/inst/doc/RProtoBuf-unitTests.R
RProtoBuf/inst/doc/RProtoBuf-paper.pdf
RProtoBuf/inst/doc/RProtoBuf-paper.R
RProtoBuf/inst/doc/RProtoBuf-quickref.Rnw
RProtoBuf/inst/doc/RProtoBuf-quickref.R
RProtoBuf/inst/doc/RProtoBuf-quickref.pdf
RProtoBuf/inst/doc/RProtoBuf-intro.R
RProtoBuf/inst/opencpu
RProtoBuf/inst/opencpu/ocpu-rpc.py
RProtoBuf/inst/opencpu/ocpu-rpc.R
RProtoBuf/inst/opencpu/ocpu-getdata.R
RProtoBuf/inst/opencpu/ocpu-getdata.py
RProtoBuf/inst/opencpu/readme.txt
RProtoBuf/inst/opencpu/rexp_pb2.py
RProtoBuf/inst/unitTests
RProtoBuf/inst/unitTests/runit.FieldDescriptor.R
RProtoBuf/inst/unitTests/runit.int32.R
RProtoBuf/inst/unitTests/runit.addressbook.R
RProtoBuf/inst/unitTests/runit.extremevalues.R
RProtoBuf/inst/unitTests/runit.serialize_pb.R
RProtoBuf/inst/unitTests/runit.serialize.R
RProtoBuf/inst/unitTests/data
RProtoBuf/inst/unitTests/data/nested.proto
RProtoBuf/inst/unitTests/data/int64.ascii
RProtoBuf/inst/unitTests/data/unittest.proto
RProtoBuf/inst/unitTests/data/unittest_import.proto
RProtoBuf/inst/unitTests/data/bytes.proto
RProtoBuf/inst/unitTests/data/proto3.proto
RProtoBuf/inst/unitTests/data/encoding.proto
RProtoBuf/inst/unitTests/runit.messages.R
RProtoBuf/inst/unitTests/runit.bool.R
RProtoBuf/inst/unitTests/runit.import.R
RProtoBuf/inst/unitTests/runit.enums.R
RProtoBuf/inst/unitTests/runit.descriptors.R
RProtoBuf/inst/unitTests/runit.int64.R
RProtoBuf/inst/unitTests/runit.proto3.R
RProtoBuf/inst/unitTests/runTests.R
RProtoBuf/inst/unitTests/runit.extensions.R
RProtoBuf/inst/unitTests/runit.golden.message.R
RProtoBuf/inst/unitTests/runit.bytes.R
RProtoBuf/inst/unitTests/runit.nested.R
RProtoBuf/inst/proto
RProtoBuf/inst/proto/rexp.proto
RProtoBuf/inst/proto/addressbook.proto
RProtoBuf/inst/proto/helloworld.proto
RProtoBuf/tests
RProtoBuf/tests/runUnitTests.R
RProtoBuf/src
RProtoBuf/src/ZeroCopyOutputStreamWrapper.cpp
RProtoBuf/src/wrapper_ServiceDescriptor.cpp
RProtoBuf/src/wrapper_Descriptor.cpp
RProtoBuf/src/streams.cpp
RProtoBuf/src/ConnectionCopyingOutputStream.cpp
RProtoBuf/src/wrapper_FieldDescriptor.cpp
RProtoBuf/src/ConnectionCopyingInputStream.cpp
RProtoBuf/src/DescriptorPoolLookup.cpp
RProtoBuf/src/DescriptorPoolLookup.h
RProtoBuf/src/lookup.cpp
RProtoBuf/src/RconnectionCopyingInputStream.h
RProtoBuf/src/RSourceTree.h
RProtoBuf/src/wrapper_MethodDescriptor.cpp
RProtoBuf/src/wrapper_EnumValueDescriptor.cpp
RProtoBuf/src/fieldtypes.h
RProtoBuf/src/extractors.cpp
RProtoBuf/src/Rcppsupport.h
RProtoBuf/src/wrapper_ZeroCopyInputStream.cpp
RProtoBuf/src/RWarningErrorCollector.cpp
RProtoBuf/src/wrapper_EnumDescriptor.cpp
RProtoBuf/src/rprotobuf.h
RProtoBuf/src/S4_classes.h
RProtoBuf/src/RconnectionCopyingInputStream.cpp
RProtoBuf/src/rprotobuf.cpp
RProtoBuf/src/RcppMacros.h
RProtoBuf/src/ConnectionCopyingInputStream.h
RProtoBuf/src/wrapper_FileDescriptor.cpp
RProtoBuf/src/ConnectionOutputStream.h
RProtoBuf/src/wrapper_ArrayOutputStream.cpp
RProtoBuf/src/ConnectionInputStream.h
RProtoBuf/src/ZeroCopyInputStreamWrapper.cpp
RProtoBuf/src/Makevars.in
RProtoBuf/src/ConnectionInputStream.cpp
RProtoBuf/src/ConnectionOutputStream.cpp
RProtoBuf/src/RWarningErrorCollector.h
RProtoBuf/src/wrapper_Message.cpp
RProtoBuf/src/wrapper_ArrayInputStream.cpp
RProtoBuf/src/Makevars.win
RProtoBuf/src/extensions.cpp
RProtoBuf/src/ConnectionCopyingOutputStream.h
RProtoBuf/src/mutators.cpp
RProtoBuf/src/RSourceTree.cpp
RProtoBuf/NAMESPACE
RProtoBuf/demo
RProtoBuf/demo/io.R
RProtoBuf/demo/addressbook.R
RProtoBuf/demo/00Index
RProtoBuf/R
RProtoBuf/R/clear.R RProtoBuf/R/swap.R RProtoBuf/R/has.R RProtoBuf/R/extensions.R RProtoBuf/R/http.handler.R RProtoBuf/R/size.R RProtoBuf/R/clone.R RProtoBuf/R/descriptor.R RProtoBuf/R/internals.R RProtoBuf/R/00classes.R RProtoBuf/R/completion.R RProtoBuf/R/unit_tests.R RProtoBuf/R/wrapper_CodedOutputStream.R RProtoBuf/R/rexp_obj.R RProtoBuf/R/wrapper_ZeroCopyInputStream.R RProtoBuf/R/identical.R RProtoBuf/R/initialized.R RProtoBuf/R/wrapper_EnumDescriptor.R RProtoBuf/R/lookup.R RProtoBuf/R/debug_string.R RProtoBuf/R/serialize_pb.R RProtoBuf/R/serialize.R RProtoBuf/R/with.R RProtoBuf/R/aslist.R RProtoBuf/R/set.R RProtoBuf/R/merge.R RProtoBuf/R/read.R RProtoBuf/R/add.R RProtoBuf/R/wrapper_FieldDescriptor.R RProtoBuf/R/wrapper_EnumValueDescriptor.R RProtoBuf/R/field_count.R RProtoBuf/R/rpc.R RProtoBuf/R/zzz.R RProtoBuf/R/wrapper_MethodDescriptor.R RProtoBuf/R/containing_type.R RProtoBuf/R/wrapper_CodedInputStream.R RProtoBuf/R/wrapper_ServiceDescriptor.R
RProtoBuf/vignettes
RProtoBuf/vignettes/figures
RProtoBuf/vignettes/figures/histogram-mapreduce-diag1.pdf
RProtoBuf/vignettes/figures/HistogramTools.pdf
RProtoBuf/vignettes/figures/fig-SER.pdf
RProtoBuf/vignettes/figures/protobuf-distributed-system-crop.pdf
RProtoBuf/vignettes/figures/fig-021.pdf
RProtoBuf/vignettes/RProtoBuf-paper.Rnw
RProtoBuf/vignettes/RProtoBuf-intro.Rnw
RProtoBuf/vignettes/RProtoBuf-paper.bib
RProtoBuf/vignettes/RProtoBuf-unitTests.Rnw
RProtoBuf/vignettes/RProtoBuf-quickref.Rnw
RProtoBuf/vignettes/inactive
RProtoBuf/vignettes/inactive/Makefile.in
RProtoBuf/vignettes/inactive/static-use.Rnw
RProtoBuf/vignettes/proto
RProtoBuf/vignettes/proto/int64.proto
RProtoBuf/vignettes/proto/hist.pb
RProtoBuf/README.md
RProtoBuf/MD5
RProtoBuf/README
RProtoBuf/build
RProtoBuf/build/vignette.rds
RProtoBuf/DESCRIPTION
RProtoBuf/configure
RProtoBuf/ChangeLog
RProtoBuf/man
RProtoBuf/man/sizegets.Rd RProtoBuf/man/ServiceDescriptor-class.Rd RProtoBuf/man/type.Rd RProtoBuf/man/asMessage.Rd RProtoBuf/man/ByteCount-methods.Rd RProtoBuf/man/FileInputStream-class.Rd RProtoBuf/man/set.Rd RProtoBuf/man/FileOutputStream-methods.Rd RProtoBuf/man/descriptor.Rd RProtoBuf/man/fileDescriptor.Rd RProtoBuf/man/is_extension.Rd RProtoBuf/man/has.Rd RProtoBuf/man/Skip-methods.Rd RProtoBuf/man/P.Rd RProtoBuf/man/add.Rd RProtoBuf/man/FieldDescriptor-class.Rd RProtoBuf/man/ConnectionInputStream-class.Rd RProtoBuf/man/nested_type.Rd RProtoBuf/man/swap.Rd RProtoBuf/man/ArrayInputStream-class.Rd RProtoBuf/man/MethodDescriptor-class.Rd RProtoBuf/man/ConnectionOutputStream-methods.Rd RProtoBuf/man/enum_type.Rd RProtoBuf/man/EnumDescriptor-class.Rd RProtoBuf/man/FileInputStream-methods.Rd RProtoBuf/man/RpcHTTP-class.Rd RProtoBuf/man/FileDescriptor-class.Rd RProtoBuf/man/ArrayOutputStream-methods.Rd RProtoBuf/man/completion.Rd RProtoBuf/man/BackUp-methods.Rd RProtoBuf/man/ZeroCopyOutputStream-class.Rd RProtoBuf/man/field_count.Rd RProtoBuf/man/number.Rd RProtoBuf/man/merge.Rd RProtoBuf/man/ConnectionInputStream-methods.Rd RProtoBuf/man/ArrayInputStream-methods.Rd RProtoBuf/man/FileOutputStream-class.Rd RProtoBuf/man/Next-methods.Rd RProtoBuf/man/serialize_pb.Rd RProtoBuf/man/clone.Rd RProtoBuf/man/bytesize.Rd RProtoBuf/man/name.Rd RProtoBuf/man/SetCloseOnDelete-methods.Rd RProtoBuf/man/ArrayOutputStream-class.Rd RProtoBuf/man/containing_type-methods.Rd RProtoBuf/man/size.Rd RProtoBuf/man/Message-class.Rd RProtoBuf/man/field.Rd RProtoBuf/man/ConnectionOutputStream-class.Rd RProtoBuf/man/RProtoBuf-package.Rd RProtoBuf/man/aslist.Rd RProtoBuf/man/clear.Rd RProtoBuf/man/GetErrno-methods.Rd RProtoBuf/man/with.Rd RProtoBuf/man/label.Rd RProtoBuf/man/read.Rd RProtoBuf/man/isInitialized.Rd RProtoBuf/man/EnumValueDescriptor-class.Rd RProtoBuf/man/invokeLocally.Rd RProtoBuf/man/Descriptor-class.Rd RProtoBuf/man/readASCII.Rd RProtoBuf/man/ZeroCopyInputStream-class.Rd RProtoBuf/man/fetch.Rd RProtoBuf/man/enum_type_count.Rd RProtoBuf/man/readProtoFiles.Rd RProtoBuf/man/nested_type_count.Rd
RProtoBuf/configure.win
RProtoBuf/cleanup
RProtoBuf/tools
RProtoBuf/tools/winlibs.R
RProtoBuf/.Rinstignore

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.