trim_ext | R Documentation |
This function trims extensions from a file name.
trim_ext(x, n)
x |
a |
n |
number of extensions to trim off the end |
modified object of the original type
x <- "path/data.txt.gz"
print(trim_ext(x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.