Description Usage Arguments Value Author(s) See Also Examples
Returns the file extension of a file name
1 | get_file_ext(x, parse = FALSE)
|
x |
|
parse |
|
character
file extension
Thomas P. Harte
1 2 3 4 5 6 7 8 | # "csv" :
get_file_ext("foo.bar.csv")
# "csv" :
get_file_ext("foo.bar.csv", parse=TRUE)
# $basename
# [1] "foo.bar"
# $extension
# [1] "csv"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.