file.name {do} | R Documentation |
Extract file name
Description
Extract file name
Usage
file.name(..., extension = TRUE)
Arguments
... |
one or more file path |
extension |
whether include extension, default is TRUE |
Value
file names
Examples
file.name('f:/dir/1.txt')
file.name('f:/dir/1.txt', 'f:/dir/1.txt')
file.name('f:/dir/1.txt', 'f:/dir/1.txt', 'f:/dir/')
[Package do version 2.0.0.0 Index]