file_name: File name

View source: R/directory.R

file_nameR Documentation

File name

Description

Basename of file without extension

Usage

file_name(x, compression = FALSE)

Arguments

x

character vector giving file paths.

compression

logical: should compression extension ‘.gz’, ‘.bz2’ or ‘.xz’ be removed first?

Value

The file name of the path without the extension


jmbarbone/jordan documentation built on April 1, 2024, 7:46 p.m.