lsave | R Documentation |
Read and write lvec object to file
lsave(x, filename, overwrite = TRUE, compress = FALSE) lload(filename)
x |
|
filename |
name of the file(s) to save the lvec to. See details. |
overwrite |
overwrite existing files or abort when files would be overwritten. |
compress |
a logical specifying if the data should be compressed.
(see |
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
).
lsave
does not return anything. lload
returns an
lvec
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.