Skip to content

lulyon/R-snappy

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

R-snappy

A R binding of google's snappy compressor.

How to Build

First of all, configure your system using:

    R-snappy$ ./sysconfig

Then, build R-snappy with make:

    R-snappy$ make

That'all, enjoy snappy in R.

How to Use

Here is a sample usage in R shell:

    R version 2.14.1 (2011-12-22) Copyright (C) 2011 The R Foundation for Statistical Computing
    > source('snappy_wrapper.R')
    > compressed = snappy_compress("hello world!")
	> snappy_validate_compressed_buffer(compress)
	[1] TRUE
    > uncompressed = snappy_uncompress(compressed)
    > cat(uncompressed, "\n")
	hello world!
	>

Report Bugs

Please report bugs to [lulyon AT 126 DOT com] or [lualu AT tencent DOT com] .

About

a R binding for snappy the google compressor, referred by official project page

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published