Description Usage Arguments Author(s) Examples
Searches for files in dir
using file name regular expression pattern.
1 2 3 4 5 6 7 8 9 |
dir |
Character string. Directory to search. |
pattern |
an optional regular expression. Only file names which match the regular expression will be returned. |
all.files |
a logical value. If |
full.names |
a logical value. If |
recursive |
logical. Should the listing recurse into directories? |
ignore.case |
logical. Should pattern-matching be case-insensitive? |
no.. |
logical. Should both |
Ivan Jacob Agaloos Pesigan
1 2 3 4 5 6 7 | # Search for files in the working directory
# with filenames starting with `file`
# and ending with `.csv`.
util_search_pattern(
dir = getwd(),
pattern = "^file.*\\.csv$"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.