adhoc | R Documentation |
In interactive sessions, adhoc()
will execute the stratum or lamina that
matches the name provided by the user. If multiple matches are found, the
user will be prompted to choose which one to execute. If no matches are
found, an error will be thrown. project_path
will default to the current
working directory, unless a path is provided by the user.
adhoc(name, prompt = TRUE, silent = FALSE, project_path = NULL)
name |
Name of stratum or lamina. |
prompt |
Prompt user for choice if multiple matches found?
Default is |
silent |
Suppress log messages? If |
project_path |
A path to strata project folder. |
invisible data frame of execution plan for matched name.
Other adhoc:
adhoc_lamina()
,
adhoc_stratum()
## Not run:
tmp <- fs::dir_create(fs::file_temp())
result <- strata::build_quick_strata_project(tmp, 3, 2)
adhoc("stratum_1")
fs::dir_delete(tmp)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.