Description Usage Arguments Details References
This function save the data for each column of a data frame to a separate RDS file. If the target directory does not exist, it is created, including intermediate directories. Compression is optional.
1 |
x |
A data frame |
.destdir |
Where to save the files. For proper operation, it
cannot contain other files with |
.compress |
Passed as |
.parallel |
If true, parallelize with |
Use this function in a helper script for your package to add the files needed
for column-wise loading this data set, e.g., in the data-raw
directory.
According to the "Writing R Extensions" manual,
"the convention has grown up to use directory inst/extdata
for [other
data files needed by the package]"; use a subdirectory for each data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.