Description Usage Arguments Value See Also Examples
View source: R/my_functions.r View source: R/my_functions.r
Uses the pigz utility to improve loading large R objects. This is compatible with saveRDS and readRDS functions. Requires pigz (sudo apt-get install pigz on Ubuntu).
Uses the pigz utility to improve loading large R objects. This is compatible with saveRDS and readRDS functions. Requires pigz (sudo apt-get install pigz on Ubuntu).
1 2 3 | mcreadRDS(file, mc.cores = min(parallel::detectCores(), 4))
mcreadRDS(file, mc.cores = min(parallel::detectCores(), 4))
|
file |
The filename of the rds object. |
mc.cores |
How many cores to use in pigz. The program does not seem to benefit after more than about 4 cores. |
file |
The filename of the rds object. |
mc.cores |
How many cores to use in pigz. The program does not seem to benefit after more than about 4 cores. |
The R object.
The R object.
http://stackoverflow.com/questions/28927750/
http://stackoverflow.com/questions/28927750/
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.