file.path {base} | R Documentation |
Construct the path to a file from components in a platform-independent way.
file.path(..., fsep = .Platform$file.sep)
... |
character vectors. |
fsep |
the path separator to use. |
A character vector of the arguments concatenated term-by-term and
separated by fsep
if all arguments have positive length;
otherwise, an empty character vector.
The components are separated by /
(not \
) on Windows.