cloud_local_ls | R Documentation |
Retrieves names, timestamps, and sizes of files and folders inside local project folder.
cloud_local_ls(
path = "",
root = ".",
recursive = FALSE,
full_names = FALSE,
ignore = TRUE
)
path |
(optional) Path, relative to the specified root to list contents
of. By default, when |
root |
Local directory path relative to which all other paths are considered. |
recursive |
(logical) If |
full_names |
(logical) If |
ignore |
Logical flag indicating whether to ignore certain directories.
Currently, if set to |
A tibble containing the names, last modification timestamps, and sizes in bytes of files and folders inside the specified local folder.
# list only root-level files and folders
cloud_local_ls()
# list all files in all nested folders
cloud_local_ls(recursive = TRUE)
## Not run:
# list contents of "plots/barplots" subfolder (if it exists)
cloud_local_ls("plots/barplots")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.