powered by
Test if a path is an absolute path
is_absolute_path(path)
A character vector of one or more paths.
# NOT RUN { is_absolute_path("/foo") is_absolute_path("C:\\foo") is_absolute_path("\\\\myserver\\foo\\bar") is_absolute_path("foo/bar") # }
Run the code above in your browser using DataLab