View source: R/basenameSansExt.R
basenameSansExt | R Documentation |
Base name without the file extension
basenameSansExt(path)
path |
|
character
.
Character vector of same length as path
input, with file extension removed.
Returns NA
if no extension is detected.
This function intentionally doesn't check whether a file exists.
Updated 2019-10-22.
basename()
.
tools::file_path_sans_ext()
.
path <- c("dir/foo.txt", "bar.tar.gz", "DESCRIPTION")
basenameSansExt(path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.