readRDS.gz | R Documentation |
This function uses pigz to read RDS files. pigz is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data.
readRDS.gz(file, threads = (parallel::detectCores()) - 1)
file |
A location to read from. |
threads |
Number of threads to use. Defaults to |
pigz needs to be installed for this function to work.
The object at file
.
## Not run: temp <- readRDS.gz('temp.RDS') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.