Split the path to a file into components in a platform-DEPENDENT way.

path.split(path)
path.split.1(path)
path.unsplit(...)

Arguments

path

character vector.

...

character vectors, or one list of character vectors.

Value

for path.split(), a list of character vectors.

for path.split.1() and path.unsplit(), a character vector.

Note

path.unsplit() is NOT the same as path.join().