getExtension | R Documentation |
Get the file extension of a given file. This function takes a file path as input and returns the file extension without the dot.
getExtension(file)
file |
A character string containing the file path. |
A character vector containing the file extension without the dot.
getExtension("example.txt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.