Filenames from paths
This function takes a character vector of paths and returns just the file
name, by default without the extension. A
the paths to the files in the corpus as the names of the list. This function
is intended to turn those paths into more manageable identifiers.
filenames(paths, extension = FALSE)
A character vector of paths.
Should the file extension be preserved?
1 2 3
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.