Description Usage Arguments Value Author(s) References See Also Examples
See generic: getFileExtension
1 2 | ## S4 method for signature 'DecomposedPath.S3'
getFileExtension(path = ".", ...)
|
path |
|
... |
Further arguments to be passed to subsequent functions/methods. |
character
. Vector containing file extensions or
""
or NA
for respective inputs (i.e. directory paths or
NA
).
Janko Thyson janko.thyson@rappster.de
https://github.com/Rappster/filesystr
getFileExtension,
getFileExtension-missing-method
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | ## Not run:
path <- c(
".",
"..",
"dir_a",
"dir_a/",
"dir_b",
"dir_b/sub_1",
"dir_b/sub_1/file.txt",
"dir_b/sub_1/file.txt/",
"dir_b/nonex",
"dir_b/nonex/",
"dir_b/nonex/file.txt",
"nonex",
"nonex/sub_1",
"nonex/sub_1/file.txt",
"nonex/foo.tgz",
"another nonex\\file.tar.gz",
"a_file",
"quux. quuux.tbz2",
"~/file.tar.xz",
"",
NA_character_
)
getFileExtension(path = path)
getFileExtension(path = character())
getFileExtension()
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.