Save Data Frames
sbf_save_datas.RdSave Data Frames
Usage
sbf_save_datas(
sub = sbf_get_sub(),
main = sbf_get_main(),
env = parent.frame(),
x_name = ".*"
)See also
Other save functions:
sbf_basename_sans_ext(),
sbf_save_aws_files(),
sbf_save_block(),
sbf_save_data(),
sbf_save_data_to_db(),
sbf_save_data_to_pg(),
sbf_save_datas_to_db(),
sbf_save_db_metatable_descriptions(),
sbf_save_db_to_workbook(),
sbf_save_excel(),
sbf_save_excels(),
sbf_save_gpkg(),
sbf_save_gpkgs(),
sbf_save_number(),
sbf_save_numbers(),
sbf_save_object(),
sbf_save_objects(),
sbf_save_plot(),
sbf_save_png(),
sbf_save_spatial(),
sbf_save_spatials(),
sbf_save_string(),
sbf_save_strings(),
sbf_save_table(),
sbf_save_window(),
sbf_save_workbook()
Examples
if (FALSE) { # \dontrun{
sbf_set_main(file.path(tempdir(), "output"))
outing <- data.frame(x = 1)
capture <- data.frame(x = 2)
captures <- data.frame(x = 3)
# matches anywhere in the name
sbf_save_datas(x_name = "capture") # capture, captures
# ^ and $ match the whole name
sbf_save_datas(x_name = "^capture$") # capture
sbf_save_datas(x_name = "^(outing|capture)$") # capture, outing
# (?! ) excludes names
sbf_save_datas(x_name = "^(?!capture$)") # captures, outing
sbf_reset()
} # }