Description Usage Arguments Author(s) References See Also Examples
Standardizes paths of file system ressources.
1 | standardizePath(path = ".", sep = c("/", "\\"), shortform = FALSE, ...)
|
path |
Signature argument. Object containing path information. |
sep |
|
shortform |
|
... |
Further arguments to be passed to subsequent functions/methods. |
Janko Thyson janko.thyson@rappster.de
https://github.com/Rappster/filesystr
standardizePath-character-method
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
standardizePath()
path <- c(".", "./dir", "..", "../dir", "~", "~/file.txt", R.home(),
tempdir(), "nonex", "nonex/", "nonex/file.txt",
"nonex/file.txt/", "", NA)
standardizePath(path = path, sep = "\\")
try(standardizePath(path = path, sep = "notallowed"))
standardizePath(path = path, shortform = TRUE)
standardizePath(".")
standardizePath(path = character())
standardizePath(path = "")
standardizePath(path = NA_character_)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.