getParent
From R.utils v2.7.0
by Henrik Bengtsson
Gets the string of the parent specified by this pathname
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.
- Keywords
- programming, IO
Usage
# S3 method for default
getParent(pathname, depth=1L, fsep=.Platform$file.sep, ...)
Arguments
Value
Returns a character
string if the parent exists, otherwise NULL
.
Community examples
Looks like there are no examples yet.