Description Usage Arguments Details Value Examples
A convenience closure to wrap around write_out
1 | lazy_writer(rds_output_directory = NULL, csv_output_directory = NULL)
|
rds_output_directory |
the directory to save the RDS file to |
csv_output_directory |
the directory to save the csv file to |
This function creates a function which will save off RDS and csv files to named directories
a function
which in turn writes out an object to a csv and RDS file
1 2 3 4 5 6 7 8 9 | ## Not run:
# creates a function which will save RDS and csv files to the
# "rds_files" and "csv_files" directories
x <- lazy_writer("rds_files","csv_files")
# write out the files
x(mtcars)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.