file.name: Extract file name

View source: R/file.name.R

file.nameR 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/')

do documentation built on Sept. 12, 2024, 6:27 a.m.