save_pigz: Save R Object using pigz compression

View source: R/save_pigz.R

save_pigzR Documentation

Save R Object using pigz compression

Description

Save writes an external representation of R objects to the specified file using pigz parallel implementation compression (http://www.zlib.net/pigz/).

Usage

save_pigz(
  ...,
  list = character(),
  output_file_path,
  cores_utilisation = "auto",
  compression_level = 1L,
  precheck = TRUE,
  envir = parent.frame(),
  eval_promises = TRUE
)

Arguments

...

Names of the objects to be saved (as symbols or character strings).

list

character expected. A vector containing the names of objects to be saved.

output_file_path

character expected. Path name of the file where data will be saved.

cores_utilisation

character or integer expected. Percentage of cores to use to compress (value inferior or equal to 1 expected). Use "auto" for automatic management (number of cores minus 1).

compression_level

integer expected. Compression level, 0 for no compression to 9 (maximum).

precheck

logical expected. Should the existence of the objects be checked before starting to.

envir

Environment to search for objects to be saved.

eval_promises

logical expected. Should objects which are promises be forced before saving?

Details

Under windows OS utilisation, download through this link (https://sourceforge.net/projects/pigz-for-windows/) the pigz executable file and place it in the System32 directory. The executable file is also available in the package directory (use the function system.file("pigz.zip", package = "furdeb") for located it).


OB7-IRD/furdeb documentation built on April 21, 2024, 12:17 a.m.