This function will set the global option for saving/loading objects with
jdtools
functions so you do not have to specify the path
parameter when
calling save_object
and load_object
.
set_object_path(path)
path | A directory within the current RStudio Project |
---|
NA; used for side effects to set the global option
jdtools.rds.path
.
Other utils-save-load:
get_object_path()
,
unset_object_path()
if (interactive()) { fs::dir_create(here::here("test-folder")) jdtools::set_object_path("test-folder") }