Read and write lvec object to file
lsave(x, filename, overwrite = TRUE, compress = FALSE)lload(filename)
lsave does not return anything. lload returns an
lvec.
lvec object to save
name of the file(s) to save the lvec to. See details.
overwrite existing files or abort when files would be overwritten.
a logical specifying if the data should be compressed.
(see saveRDS).
The lvec is written in chunks to a number of RDS files using
saveRDS. When filename contains the extension 'RDS'
(capitalisation may differ), this extension is stripped from the filename.
After that the lvec is written in blocks (or chunks) to files having
names <filename>.00001.RDS, <filename>.00002.RDS etc. Some
additional data (data type, the number of blocks, the size of the lvec, etc)
is written to the file <filename>.RDS.
The size of the chunks can be controlled by the option `chunk_size` (see
chunk).