Learn R Programming

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

RProtoBuf (version 0.4.1)

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.1

License

GPL-2

Maintainer

Dirk Eddelbuettel

Last Published

March 25th, 2014

Functions in RProtoBuf (0.4.1)

ArrayOutputStream-methods

Creates an ArrayOutputStream
ArrayInputStream-methods

Creates an ArrayInputStream
swap-methods

swap elements of a repeated field of a message
Message-class

Class "Message"
readProtoFiles

protocol buffer descriptor importer
as.list.Message

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

Class "FileOutputStream"
bytesize-methods

The number of bytes taken by a message
type-methods

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

Creates an ConnectionOutputStream
ConnectionInputStream-methods

Creates an ConnectionInputStream
FileInputStream-methods

Creates an FileInputStream
completion

Completion support for protocol buffer messages and descriptors
size-methods

Size of a message field
read-methods

Read a protocol buffer message from a connection
field_count-methods

The number of fields
ConnectionInputStream-class

Class "ConnectionInputStream"
Skip-methods

Skips a number of bytes
fileDescriptor-methods

gets the file descriptor of an object
descriptor-methods

Get the descriptor of a message
containing_type-methods

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

invoke a protobuf rpc method
asMessage

coerce an object to a protobuf message
GetErrno-methods

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

Indicates if a protocol buffer message is initialized
ZeroCopyOutputStream-class

Virtual Class "ZeroCopyOutputStream"
SetCloseOnDelete-methods

set the close on delete behavior
FileDescriptor-class

Class "FileDescriptor"
ArrayInputStream-class

Class "ArrayInputStream"
with.Message

with and within methods for protocol buffer messages
ConnectionOutputStream-class

Class "ConnectionOutputStream"
enum_type_count-methods

The number of enum types
ArrayOutputStream-class

Class "ArrayOutputStream"
nested_type-methods

Extract a message type descriptor for a nested type
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
sizegets

Set the size of a field
P

Protocol Buffer descriptor importer
ByteCount-methods

The number of bytes read/written since the object was created
Descriptor-class

Class "Descriptor"
MethodDescriptor-class

Class "MethodDescriptor"
Next-methods

Obtains a chunk of data from the stream
ServiceDescriptor-class

Class "ServiceDescriptor"
clone-methods

Clone protocol buffer messages
add-methods

add elements of a repeated field of a message
has-methods

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

Gets the label of a field
BackUp-methods

Backs up a number of bytes from a stream
serialize_pb

Serialize R object to Protocol Buffer Message.
FileInputStream-class

Class "FileInputStream"
set-methods

set a subset of values of a repeated field of a message
field-methods

Extract a field descriptor
enum_type-methods

Extract an enum type descriptor for a nested type
ZeroCopyInputStream-class

Virtual Class "ZeroCopyInputStream"
RpcHTTP-class

Class "RpcHTTP"
merge-methods

Merge two messages of the same type
RProtoBuf-package

R Interface to the Protocol Buffers API
name

Name or full name of a descriptor
readASCII-methods

read a message in ASCII format
EnumValueDescriptor-class

Class "EnumValueDescriptor"
EnumDescriptor-class

Class "EnumDescriptor"
fetch-methods

Fetch content of a repeated field
nested_type_count-methods

The number of fields
FieldDescriptor-class

Class "FieldDescriptor"
number-methods

Gets the declared tag number of a field
FileOutputStream-methods

Creates an FileOutputStream