Description Usage Arguments Value Examples
Inflate a raw vector that was compressed
1 | mem_inflate(r_source, format, r_guess_size)
|
r_source |
raw vector of compressed data. |
format |
A character scalar indicating the type of compression that was applied. This must be one of "gzip", "zlib" or "raw". |
r_guess_size |
your best guess as to the size of uncompressed data. Not ideal,
and this won't be necessary in future releases. Reember, this is a direct
port from the defunct |
Raw vector of expanded data.
1 2 3 | raw <- charToRaw("The quick brown fox jumps over the lazy dog.")
compressed <- mem_compress(raw, format = "gzip")
decompressed <- mem_inflate(compressed, format = "gzip", 1000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.