dirname | R Documentation |
Overloads dirname with option to remove URL scheme ('http://', etc.) Also changes dirname behavior so that the last part of a URL ending in / counts as a directory, not as a file
dirname(path, remove.scheme = FALSE)
path |
string or vector of strings of file names |
remove.scheme |
logical whether to remove URL scheme, defaults to FALSE |
dirname("/dir1/dir2/file.ext", remove.scheme = TRUE) dirname("/dir1/dir2/file.ext")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.