Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/huwcampbell/snappier
R bindings for the snappy compression library
https://github.com/huwcampbell/snappier
Last synced: about 1 month ago
JSON representation
R bindings for the snappy compression library
- Host: GitHub
- URL: https://github.com/huwcampbell/snappier
- Owner: HuwCampbell
- License: other
- Created: 2017-12-20T03:05:33.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-06T02:21:49.000Z (over 1 year ago)
- Last Synced: 2023-08-20T07:33:40.157Z (about 1 year ago)
- Language: C++
- Homepage:
- Size: 117 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Snappier
========[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/snappier)](https://cran.r-project.org/package=snappier)
> R package bindings for the Snappy library.
This library provides compressions and decompression
of Snappy bytestrings in R.### Benefits
* Snappy C/C++ code is embedded in the library, so external
dependencies are not required.
* Use or RAWSXP underneath prevents runtime errors
* Direct access to R's internal data structures is given to the
Snappy library, so it's about as efficient as it can be.
* Round trip tests with hedgehog provide good assurances
for correctness.### Basic Usage
```r
# Compress a character vector
comp <- compress("this text will be compressed")
decompress(comp)
``````
## [1] "this text will be compressed"
```