# This function is copied from the 'tools' R package
file_path_no_ext <- function (x, compression = FALSE)
{
if (compression)
x <- sub("[.](gz|bz2|xz)$", "", x)
sub("([^.]+)\\.[[:alnum:]]+$", "\\1", x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.