write_data | R Documentation |
data/
This function writes an rda
file in data
and names it schemeName
. Makes saving objects easier
from within a function. Inspired by this
StackOverflow post. Uses 'xz' to compress the file.
write_data(schemeName, data)
schemeName |
the name of the rda file, without the |
data |
the object to save |
the path to the rda file
## Not run: if(interactive()){ write_rda("an_rda_file_named_that", an_object_named_this) } ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.