Description Usage Arguments Details Value Author(s) See Also Examples
Get the path of a vector of filenames
1 | getPath(vec)
|
vec |
Character vector (usually containing filenames) |
Assumes paths are delineated using forward slashes. If an NA is
supplied, then an NA is returned. If the desired string doesn't
exist (see examples below), a "" is returned.
Character vector with pathnames only, the filename removed
Landon Sego
Additional functions for filename manipulations: stripExtension, getExtension,
stripPath, grabLast, basename, dirname
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.