The input can be one or more directories, one or more files, or the mixture of the two.
It will return the full paths of all files in a recursive way,
and sort them in increasing order. When files are put in
different areas of your disk, you may need this function to collect them.
It is essentially a wrapper of
names of directories and files; if the input is not vector, the function will try to coerce it. Relative paths and paths starting with "~/" are also accepted. In Windows, both "/" and double inversed slashes inside filenames are accepted.
a length 1 character or regular expression. Only filenames that have this pattern will be collected. Default value is "" (character with size 0), and is to collect everything.
Failure may occur when obtaining absolute paths, please see
for possible reasons.
a character vector of full filenames with increasing order, and every name is unique. If no filename is collected, an error will be raised.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.