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


mark documentation built on May 29, 2024, 5:13 a.m.