Skip to content

anderic1/zstdr

 
 

Repository files navigation

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

About

R bindings to the zstandard compression library

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • C++ 39.9%
  • R 37.3%
  • M4 20.6%
  • Shell 2.2%