Description Usage Arguments Value Examples
The get_dirs
function addresses some of the quirks with list.files
and uses defaults that are more useful for fduper, such as recursive = TRUE
1 2 |
path |
A character vector of path names to search |
pattern |
An optional regex pattern to match results against |
all.dirs |
Whether or not to include directories starting with period, with default as TRUE. |
recursive |
Whether or not to search path recursively, with default as TRUE |
ignore.case |
Whether or not to use case-sensitive pattern matching, with default as FALSE |
A character vector containing the resulting directory paths
1 2 | get_dirs(sample_path(), recursive=TRUE)
get_dirs(sample_path(), recursive=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.