get_extension | R Documentation |
Extract file extension from the filename string.
get_extension(x, dot = TRUE)
x |
A string or vector of strings containing the filenames with the extension. |
dot |
Logical, if 'TRUE' the returned value will contain the dot (e.g '.mod') else only the extension itself will be returned (e.g. 'mod'). |
A string or vector of string of the file(s) extension.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.