fileDepth | R Documentation |
File depth
fileDepth(path)
path |
|
This function intentionally doesn't check whether a file exists.
integer
.
Unnamed vector denoting file path depth.
Note that "/" will return 0 here (zero indexed).
Updated 2022-05-31.
a <- tempdir()
b <- tempfile()
fileDepth(c(a, b))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.