Learn R Programming

⚠️There's a newer version (0.4.24) of this package.Take me there.

RProtoBuf (version 0.4.2)

R Interface to the Protocol Buffers API

Description

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 the arXiv.org preprint "RProtoBuf: Efficient Cross-Language Data Serialization in R" by Eddelbuettel, Stokely, and Ooms (2014) http://arxiv.org/abs/1401.7372

Copy Link

Version

Install

install.packages('RProtoBuf')

Monthly Downloads

3,090

Version

0.4.2

License

GPL-2

Maintainer

Dirk Eddelbuettel

Last Published

December 11th, 2014

Functions in RProtoBuf (0.4.2)

ConnectionOutputStream-class

Class "ConnectionOutputStream"
ConnectionInputStream-methods

Creates an ConnectionInputStream
FileInputStream-class

Class "FileInputStream"
ByteCount-methods

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

Backs up a number of bytes from a stream
readProtoFiles

protocol buffer descriptor importer
enum_type-methods

Extract an enum type descriptor for a nested type
SetCloseOnDelete-methods

set the close on delete behavior
add-methods

add elements of a repeated field of a message
P

Protocol Buffer descriptor importer
swap-methods

swap elements of a repeated field of a message
with.Message

with and within methods for protocol buffer messages
ArrayInputStream-methods

Creates an ArrayInputStream
ArrayInputStream-class

Class "ArrayInputStream"
ArrayOutputStream-methods

Creates an ArrayOutputStream
bytesize-methods

The number of bytes taken by a message
type-methods

Gets the type or the C++ type of a field
FileOutputStream-methods

Creates an FileOutputStream
containing_type-methods

Gets the message type descriptor that contains a descriptor
field-methods

Extract a field descriptor
clone-methods

Clone protocol buffer messages
nested_type_count-methods

The number of fields
clear-methods

Clear a field or all fields of the message and set them to their default values
is_extension-methods

Indicates if a field descriptor is an extension
FileDescriptor-class

Class "FileDescriptor"
as.list.Message

Grab the protocol buffer message as an R list
ServiceDescriptor-class

Class "ServiceDescriptor"
ConnectionOutputStream-methods

Creates an ConnectionOutputStream
EnumValueDescriptor-class

Class "EnumValueDescriptor"
RpcHTTP-class

Class "RpcHTTP"
RProtoBuf-package

R Interface to the Protocol Buffers API
descriptor-methods

Get the descriptor of a message
Skip-methods

Skips a number of bytes
name

Name or full name of a descriptor
readASCII-methods

read a message in ASCII format
has-methods

Indicates if an object has the given field set
fetch-methods

Fetch content of a repeated field
isInitialized-methods

Indicates if a protocol buffer message is initialized
Message-class

Class "Message"
ZeroCopyOutputStream-class

Virtual Class "ZeroCopyOutputStream"
FileOutputStream-class

Class "FileOutputStream"
number-methods

Gets the declared tag number of a field
FieldDescriptor-class

Class "FieldDescriptor"
FileInputStream-methods

Creates an FileInputStream
nested_type-methods

Extract a message type descriptor for a nested type
merge-methods

Merge two messages of the same type
read-methods

Read a protocol buffer message from a connection
set-methods

set a subset of values of a repeated field of a message
ZeroCopyInputStream-class

Virtual Class "ZeroCopyInputStream"
Descriptor-class

Class "Descriptor"
MethodDescriptor-class

Class "MethodDescriptor"
asMessage

coerce an object to a protobuf message
serialize_pb

Serialize R object to Protocol Buffer Message.
size-methods

Size of a message field
invoke-methods

invoke a protobuf rpc method
Next-methods

Obtains a chunk of data from the stream
enum_type_count-methods

The number of enum types
ArrayOutputStream-class

Class "ArrayOutputStream"
field_count-methods

The number of fields
GetErrno-methods

Get the error number for an I/O error
fileDescriptor-methods

gets the file descriptor of an object
sizegets

Set the size of a field
label-methods

Gets the label of a field
ConnectionInputStream-class

Class "ConnectionInputStream"
EnumDescriptor-class

Class "EnumDescriptor"
completion

Completion support for protocol buffer messages and descriptors