Description Usage Arguments Value
x is assumed to be a vector of characters which stand for
filenames. The extension of the file name is the suffix that
occurs after the last dot (.) in every component of x. The
substitution is done in two steps. First the existing extension
of x is removed using function sans_ext
. Then the new
extension is added with a dot (.) as separator.
1 | sub_ext(x, ext)
|
x |
vector with original file names |
ext |
new extension to be added |
file names with new extensions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.