Construct Path to File
Construct the path to a file from components in a platform-independent way.
file.path(..., fsep = .Platform$file.sep)
- character vectors.
- the path separator to use.
The implementation is designed to be fast (faster than
paste) as this function is used extensively in R itself.
It can also be used for environment paths such as PATH and
fsep = .Platform$path.sep.
A character vector of the arguments concatenated term-by-term and
fsepif all arguments have positive length; otherwise, an empty character vector (unlike
The components are by default separated by
\) on Windows.