create_compressor | R Documentation |
Initialize a new compressor object for zlib-based compression with specified settings.
create_compressor(
level = -1L,
method = 8L,
wbits = 15L,
memLevel = 8L,
strategy = 0L,
zdict = NULL
)
level |
Compression level, integer between 0 and 9, or -1 for default. |
method |
Compression method. |
wbits |
Window size bits. |
memLevel |
Memory level for internal compression state. |
strategy |
Compression strategy. |
zdict |
Optional predefined compression dictionary as a raw vector. |
A SEXP pointer to the new compressor object.
compressor <- create_compressor(level = 6, memLevel = 8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.