Skip to content

Repository files navigation

zstd

R-CMD-check

Fast, lossless compression using the Zstandard algorithm

Installation

# Install the development version from GitHub:
## install.packages("devtools")
devtools::install_github("sbearrows/zstd")

Example

Simple data compression example:

library(zstd)
# simple compression and decompressioninput<- readBin("input", what='raw', n= file.size("input"))
output<- compression(input, level=10)
original<- decompression(output)
# streamable compression
stream_compression("input", "output.zst", level=10)
# streamable decompression
stream_decompression("output.zst", "original")

About

What the Package Does (One Line, Title Case)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages