root | R Documentation |
Returns the directory path where the current source code file is located.
It is especially useful when the same source code is used by multiple users, each using his own environment, with different file paths.
the aim is to avoid writing full paths in raw text inside source codes.
root()
A character string representing the absolute path of the directory containing the current source file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.