View source: R/parentDirectory.R
parentDirectory | R Documentation |
Parent directory recursion
parentDirectory(path, n = 1L)
parentDir(path, n = 1L)
path |
|
n |
|
Function always resolves directory path internally, using realpath
.
character
.
Directory path(s).
Updated 2021-09-03.
dir <- getwd()
url <- pasteUrl(
"r.acidgenomics.com",
"packages",
"acidbase",
"reference",
"parentDirectory.html",
protocol = "https"
)
path <- c(dir, url)
parentDir(path = path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.