getRelativePath {R.utils} | R Documentation |
Gets the relative pathname relative to a directory.
## Default S3 method: getRelativePath(pathname, relativeTo=getwd(), ...)
pathname |
A character string of the pathname to be converted into
an absolute pathname. |
relativeTo |
A character string of the reference pathname, |
... |
Not used. |
Returns a character
string of the relative pathname.
Henrik Bengtsson http://www.braju.com/R/
*getAbsolutePath()
.
*isAbsolutePath()
.