R bindings to the zstandard compression library
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
man
src
tests
.Rbuildignore
.gitignore
.travis.yml
Benchmarks-graphs-1.png
Benchmarks-graphs-2.png
Benchmarks-graphs-3.png
Benchmarks.Rmd
Benchmarks.md
DESCRIPTION
NAMESPACE
README.Rmd
README.md
cleanup
configure
configure.ac
zstdr.Rproj

README.md

Build Status CRAN Status

About

This package provides simple R bindings to the Zstandard compression library.

Benchmarks

See benchmarks for comparison with other compression algorithms.

Installation

To install from CRAN:

install.packages('zstdr')

To install development version from GitHub:

devtools::install_github("thekvs/zstdr")

Usage

library(zstdr)

data_file <- file.path(R.home(), "COPYING")
data <- readBin(data_file, raw(), file.info(data_file)$size)
compressed <- zstdCompress(data)
stopifnot(identical(data, zstdDecompress(compressed)))

Links