Learn R Programming

outsider.base (version 0.1.4)

to_basename: Reduce to filepaths to basename

Description

Return return a vector where all valid filepaths are converted to file basenames. E.g. "dir1/dir2/text.file" is converted to "text.file"

Usage

to_basename(x)

Arguments

x

Character vector

Value

Character vector

See Also

Other private: is_filepath(), log_get()