getParent {R.utils} | R Documentation |
Gets the string of the parent specified by this pathname
Description
Gets the string of the parent specified by this pathname. This is basically, by default the string before the last path separator of the absolute pathname.
Usage
## Default S3 method:
getParent(pathname, depth=1L, fsep=.Platform$file.sep, ...)
Arguments
pathname |
A |
depth |
An |
fsep |
A |
... |
Not used. |
Value
Returns a character
string if the parent exists, otherwise NULL
.
Author(s)
Henrik Bengtsson
[Package R.utils version 2.12.3 Index]