Description Usage Arguments Value Note See Also Examples
split_path
splits a character vector of paths into directory
components. The opposite of file.path
.
split_dir
is a convenience wrapper equivalent to dir
+
split_path
, making it easy to View
directory
contents.
1 2 3 4 |
x |
A character vector. For |
simplify |
A logical value. If |
pattern |
A string containing a regular expression, to filter the files
that are returned. Passed to |
all.files |
Logical. If |
recursive |
Logical. If |
Either a named list of character vectors containing the split paths,
or a matrix. See simplify
argument in Usage section.
Paths are split on forward and back slashes, except for double forward or back slashes at the start of (UNC) paths. These are included in the first element of that split path.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.