jst_get_file_name {jstor} | R Documentation |
Extract the basename of a path
Description
This helper simply extracts the basename of a path and removes the extension,
e.g. foo/bar.txt
is shortened to bar
.
Usage
jst_get_file_name(file_path)
Arguments
file_path |
A path to a file |
Value
A character vector, containing the basename of the file without an extension.
[Package jstor version 0.3.11 Index]