Learn R Programming

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

Copy Link

Version

Install

install.packages('zstdr')

Monthly Downloads

11

Version

0.1.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Konstantin Sorokin

Last Published

June 6th, 2017

Functions in zstdr (0.1.1)

zstdCompress

Zstandard comression
zstdDecompress

Zstandard comression
zstdMaxCLevel

Returns maximum compression level supported by zstandard