powered by
split a path into ancestor paths recursively
split_path(path)
character vectors of ancestor paths
path to split
split_path("/home/someone/a/test/path.txt")
Run the code above in your browser using DataLab