View source: R/my_filename_utils.r
bare_filename | R Documentation |
Return the bare filename (no path, no extension)
bare_filename(a_filename)
a_filename |
filename (character). |
a_filename can also be a character vector or list of character.
filename without path and extension (character)
bare_filename(file.path("tmp", "test.dat")) bare_filename(c(file.path("tmp", "test1.dat"), file.path("tmp", "test2.dat"))) bare_filename(as.list(c( file.path("tmp", "test1.dat"), file.path("tmp", "test2.dat") )))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.