Learn R Programming

lares (version 4.10.6)

file_name: Get file names without extensions

Description

Get file names without extensions

Usage

file_name(filepath)

Arguments

filepath

Character vector. File path(s) to get file names with. no extension.

Examples

Run this code
# NOT RUN {
file_name("file.aux")
file_name("temp/file.R")
file_name("/temp/temp3/music.mp3")
# }

Run the code above in your browser using DataLab