.expandPath | R Documentation |
This function expands system paths (the non-absolute paths become absolute)
and replaces the environment variables (e.g, ${HOME}
)
with their values.
.expandPath(path)
path |
file path to expand. Potentially any string |
Most importantly strings that are not system paths are returned untouched
Expanded path or untouched string
string = "https://www.r-project.org/"
.expandPath(string)
path = "$HOME/my/path/string.txt"
.expandPath(path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.