getParent | R Documentation |
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.
## Default S3 method:
getParent(pathname, depth=1L, fsep=.Platform$file.sep, ...)
pathname |
A |
depth |
An |
fsep |
A |
... |
Not used. |
Returns a character
string if the parent exists, otherwise NULL
.
Henrik Bengtsson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.