getRelativePath {R.utils}R Documentation

Gets the relative pathname relative to a directory

Description

Gets the relative pathname relative to a directory.

Usage

## Default S3 method:
getRelativePath(pathname, relativeTo=getwd(), ...)

Arguments

pathname A character string of the pathname to be converted into an absolute pathname.
relativeTo A character string of the reference pathname,
... Not used.

Value

Returns a character string of the relative pathname.

Author(s)

Henrik Bengtsson http://www.braju.com/R/

See Also

*getAbsolutePath(). *isAbsolutePath().


[Package R.utils version 0.5.5 Index]