Description
Basename of file without extension
Usage
file_name(x, compression = FALSE)
Value
The file name of the path without the extension
Arguments
- x
character vector giving file paths.
- compression
logical: should compression extension .gz
,
.bz2
or .xz
be removed first?