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



Try the zstdr package in your browser

Any scripts or data that you put into this service are public.

zstdr documentation built on June 7, 2017, 1:02 a.m.