View source: R/getFileExtension.R
getFileExtension | R Documentation |
Function to get the extension from a filename
getFileExtension(fn)
fn |
|
If the filename has no extension, the functions returns NA. If the filename ends with ".", then "" is returned.
the extension (without the "."), or NA if no extension
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.