DirSource {tm} | R Documentation |
Constructs a directory source.
## S4 method for signature 'character': DirSource(directory, encoding = "UTF-8", pattern = NULL, recursive = FALSE, ignore.case = FALSE)
directory |
a directory. |
encoding |
a character giving the encoding of the files in the directory. |
pattern |
an optional regular expression. Only file names which match the regular expression will be returned. |
recursive |
logical. Should the listing recurse into directories? |
ignore.case |
logical. Should pattern-matching be case-insensitive? |
An S4 object of class DirSource
which extends the class
Source
representing a directory.
Ingo Feinerer