absolutizePath | R Documentation |
Absolutizes a filepath. Somewhat the opposite of relativizePath
.
absolutizePath(x, dir = getwd(), winslash = "/", ...)
x |
length one character: a file path |
dir |
a reference directory |
winslash |
path separator on windows, passed to |
... |
ignored arguments |
x and dir are first normalized, then x is expressed relative to dir. If x and dir are on different drives (i.e. C:/ D:/) x is returned as an absolute path.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.