Return the filename without extension.
The file(s) or connection's name(s) (works with vectors)
The file or connection's name without extension
In most cases, just apply
tools::file_path_sans_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.