R API Serialization

This package provides other packages with access to the internal R serialization code. Access to this code is provided at the C function level by using the registration of native function mechanism. Client packages simply include a single header file RApiSerializeAPI.h provided by this package. This packages builds on the Rhpc package by Junji Nakano and Ei-ji Nakama which also includes a (partial) copy of the file src/main/serialize.c from R itself. The R Core group is the original author of the serialization code made available by this package.


This package provides C-level serialization as R does for itself. It is useful if you are writing C (or C++) code in an R package which needs to (un)serialize R data structures, and wants to do it faster than calling the corresponding R level function would do.

In other words, this is somewhat specialised for situation of high data throughput, or other cases of a need for high performance. Or maybe you are just impatient and want the result faster.

This package owes a lot of debt to the Rhpc package by Junji Nakano and Ei-ji Nakama. It gave me the idea of using a copy of the code which is not exported by R itself. And of course credit is due to the R Core team for writing R, and the code used here.

See my RcppRedis package for use of this package

Copyrights are held by the respective authors, in particular Junji Nakano and Ei-ji Nakama as well as the R Core Team for the intial version of the actual serialization code, and Dirk Eddelbuettel for subsequent modificatons and the remainder of the package.

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("RApiSerialize")

0.1.0 by Dirk Eddelbuettel, 4 years ago


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


Authors: Dirk Eddelbuettel, Junji Nakano, Ei-ji Nakama, and R Core (original code)


Documentation:   PDF Manual  


GPL (>= 2) license



Imported by RcppRedis, rpg.


See at CRAN