Description Usage Arguments Value Examples
root_dir
is a wrapper around getwd
that appends the path-part to the location specified by the user-supplied argument.
1 | root_dir(pathpart)
|
pathpart |
A string to the path |
A character vector with the path to the root directory appended to the path-part specified.
1 2 3 | # Supply path-part without preceding forward slash
##root_dir("myfolder/test.txt")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.