Learn R Programming

xpose (version 0.4.19)

file_path: Generate clean file paths

Description

Wrapper around `file.path` that cleans trailing forward slash and missing `dir`.

Usage

file_path(dir, file)

Value

A string or vector of string of the full file path.

Arguments

dir

A string or vector of strings containing the directory path.

file

A file name or vector containing the file names.