Description Usage Arguments Value Examples
The get_files
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.files |
Whether or not to include files 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 file paths
1 2 3 | get_files(sample_path(), recursive=TRUE)
get_files(sample_path(), recursive=FALSE)
get_files(sample_path(), "*.txt$")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.