Description Usage Arguments Value Author(s) References See Also Examples
See standardizePath
.
1 2 3 | ## S4 method for signature 'missing'
standardizePath(path = ".", sep = c("/", "\\"),
shortform = FALSE, ...)
|
path |
|
sep |
|
shortform |
|
... |
Further arguments to be passed to subsequent functions/methods. |
See method
standardizePath-character-method
.
Janko Thyson janko.thyson@rappster.de
https://github.com/Rappster/filesystr
standardizePath
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.