camr_build_path | R Documentation |
camr_name_file
to
the generated file path. Use shorthand "root" directories as
specified in the project config.yml
.Build a File/Directory Path
Optionally create a directory or apply camr_name_file
to
the generated file path. Use shorthand "root" directories as
specified in the project config.yml
.
camr_build_path(
...,
root = NULL,
lgl_verify = TRUE,
lgl_create = FALSE,
lgl_name = FALSE
)
... |
Arguments to be passed to file.path. |
lgl_verify |
Verify that the path already exists? |
lgl_create |
Create a directory at the path if it does not exist? |
lgl_name |
Apply |
chr_root |
Directory named in |
(Character) A vector of paths.
## Not run:
write.csv(
iris, camr_build_path('data', 'Example.csv', lgl_name=T, lgl_verify=F)
)
camr_build_path(root='dropbox', 'fNIRS', 'Source')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.