Description Usage Arguments Examples
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
extension.
1 | strip_extension(x, lvl = 1)
|
x |
the file name, including extension. |
lvl |
the number of |
1 2 | 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.