getParent

0th

Percentile

Gets the string of the parent specified by this pathname

Gets the string of the parent specified by this pathname. This is basically, the string before the last path separator of the absolute pathname.

Usage
## S3 method for class 'default}(pathname, fsep=.Platform$file.sep, ...)':
getParentundefined

 pathname{A character string of the pathname to be checked.}
   fsep{A character string of the file separator.}
   ...{Not used.}

 Returns a character string if the parent exists, otherwise NULL.



 [object Object]



IO
programming
Aliases
  • getParent.default
  • getParent
Documentation reproduced from package R.utils, version 0.7.9, License: LGPL version 2.1 or newer (the releases)

Community examples

Looks like there are no examples yet.