getRelativePath {BBmisc} | R Documentation |
Construct a path relative to another
Description
Constructs a relative path from path from
to path to
.
If this is not possible (i.e. different drive letters on windows systems),
NA
is returned.
Usage
getRelativePath(to, from = getwd(), ignore.case = isWindows())
Arguments
to |
[ |
from |
[ |
ignore.case |
[ |
Value
[character(1)]: A relative path.
[Package BBmisc version 1.13 Index]