Strips the extension from a file name. By default, we
assume the extension is separated from the file name by a
single period; however, the
lvl argument lets us
specify how many periods are used in forming the file
strip_extension(x, lvl = 1)
the file name, including extension.
the number of
x <- "path_to_file.tar.gz" strip_extension(x, lvl=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.