Description Usage Arguments Value See Also Examples
View source: R/utils_save-load.R
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
.
1 | 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()
1 2 3 4 5 6 | if (interactive()) {
fs::dir_create(here::here("test-folder"))
jdtools::set_object_path("test-folder")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.