Returns the path to the currently active RStudio project.
Returns a single element character vector with the path of the currently active RStudio project. Returns
NULL if no project is active.
getActiveProject function was added in version 0.99.854 of RStudio.
1 2 3 4
## Not run: rstudioapi::getActiveProject() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.