Description Usage Arguments Value
Get file's extension.
1 | get_ext(path)
|
path |
The file or connection's name |
The file or connection's extension
In most cases, just apply 'tolower(tools::file_ext()), but include a special case for connections. It's not required that the file exists.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.