dir2 | R Documentation |
Function to let you see directory listing using wildcard search syntax like '*.R'
dir2(x, ignore.case = TRUE, ...)
x |
Query string that can use wildcards to search directory |
ignore.case |
Logical, TRUE by default, optional. If FALSE, then this is case-sensitive. |
... |
Optional other parameters passed to |
A directory listing.
dirdirs()
dirr()
dir2('*.txt')
dir2('*.txt', path='~')
dir2() # shows only files, not folders, if no x is specified.
dir2(path='~') # shows only files, not folders, if no x is specified.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.