Skip to contents

Unique Directory Names

Usage

uniqueDirnames(x)

Arguments

x

vector of file paths

Value

vector of character with the unique directories found in x

Examples

uniqueDirnames(c("a/b", "a/c", "b/c", "b/d"))
#> [1] "a" "b"