norm_path {toscutil} | R Documentation |
Return Normalized Path
Description
Shortcut for normalizePath(file.path(...), winslash = sep, mustWork = FALSE)
Usage
norm_path(..., sep = "/")
Arguments
... |
Parts used to construct the path |
sep |
Path separator to be used on Windows |
Value
Normalized path constructed from ...
Examples
norm_path("C:/Users/max", "a\\b", "c") # returns C:/Users/max/a/b/c
norm_path("a\\b", "c") # return <current-working-dir>/a/b/c
[Package toscutil version 2.8.0 Index]