Skip to content

sbearrows/zstd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 decompression
input <- 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

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages