makeFileFormat: Setting tape file format/compression.
Description
Setting tape file format/compression.Usage
makeFileFormat(compression="gz", compressionLevel=ifelse(compression == "bz", 9, 6))
Arguments
compression
Name of the compression algorithm; should be one of the "gz", "bz", "xz". Exact name should be given. See connections for details. Value
fileFormat* arguments of other rtape's functions.
Details
rtape uses R connections to store data; this function creates a function that is used to create a connection by the other rtape's functions. Changing its parameters allows advanced user to change compression format/level and thus control the speed/file size trade-off. The default values (gzip, 6th level of compression) should give performance similar to this of save.