Drop-in replacements for saveRDS and readRDS from base allowing use of external multi-threaded programs for faster compression/decompression. The functions also allow use of additional parameters, which are directly passed to cmpFile.
1 2 3 4 5 6 7 8 9 |
object |
R object to serialize. |
file |
a connection or the name of the file where the R object is saved to or read from. |
ascii |
a logical. If TRUE or NA, an ASCII representation is written; otherwise (default), a binary one is used. See the comments in the help for save. d |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.