Learn R Programming

path.chain (version 1.0.0)

file_path: Construct path to file without doubled separators

Description

Construct path to file without doubled separators

Usage

file_path(..., fsep = .Platform$file.sep)

Value

character file path

Arguments

...

character vectors

fsep

the path separator to use

Examples

Run this code
file.path("files/", "data/", "cars.RData")
file_path("files/", "data/", "cars.RData")

Run the code above in your browser using DataLab