For the "Insert Relative Directory Path" RStudio Addin. Inserts the relative path to the directory containing the active source document. If text is selected, this text is assumed to be a file inside that directory and is appended to the path. The "Insert Absolute Directory Path" Rstudio Addin does the same but provides the absolute path to the active source document.
1 2 3 | insert_path_dir_active(relative = TRUE)
insert_path_dir_active_abs()
|
relative |
Should the path be relative to the current working directory? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.