file_parts: Divide a fully qualified filename into directory, name and...

View source: R/file.R

file_partsR Documentation

Divide a fully qualified filename into directory, name and extension parts

Description

Divide a fully qualified filename into directory, name and extension parts

Usage

file_parts(filename, extSep = ".")

Arguments

filename

the fully qaulified file name to parse

extSep

the extension separator

Value

a character vector of file parts, or a list of character vectors if the input has more than one element

See Also

Other FILE: cp_dir, get_temp_dirname, get_temp_filename, rsync_dirs


BigelowLab/rscripting documentation built on Oct. 24, 2022, 5:31 p.m.