Description Usage Value Author(s) See Also Examples
Returns the current directory of the file. Can only be used if the file is sourced. Use cur_dir() if you are not sourcing and working in RStudio.
1 |
sourced script file directory path
Kelli-Jean Chun, kjchunz@gmail.com
1 2 | # Use when sourcing your script to change current directory
setwd(cur_dir_source())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.