https://github.com/eddelbuettel/rapiserialize
Serialization from the C API for R
https://github.com/eddelbuettel/rapiserialize
cran r r-package serialization
Last synced: 3 months ago
JSON representation
Serialization from the C API for R
- Host: GitHub
- URL: https://github.com/eddelbuettel/rapiserialize
- Owner: eddelbuettel
- Created: 2014-04-12T16:23:27.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2025-02-22T01:15:35.000Z (over 1 year ago)
- Last Synced: 2025-02-22T02:24:33.357Z (over 1 year ago)
- Topics: cran, r, r-package, serialization
- Language: C++
- Homepage:
- Size: 72.3 KB
- Stars: 11
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
Awesome Lists containing this project
README
## RApiSerialize: C-level Serialization from R
[](https://github.com/eddelbuettel/rapiserialize/actions?query=workflow%3Aci)
[](https://www.gnu.org/licenses/gpl-2.0.html)
[](https://cran.r-project.org/package=RApiSerialize)
[](https://cran.r-project.org/package=RApiSerialize)
[](https://www.r-pkg.org/pkg/RApiSerialize)
[](https://github.com/eddelbuettel/rapiserialize)
### Synopsis
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](https://cran.r-project.org/package=Rhpc) package by
Ei-ji Nakama and Junji Nakano. 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.
### Example use
See my [RcppRedis](https://github.com/eddelbuettel/rcppredis) package for use
of this package
### Copyrights
Copyrights are held by the respective authors, in particular
Ei-ji Nakama and Junji Nakano 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.
### License
GPL (>= 2)