getActiveProject.RdReturns the path to the currently active RStudio project.
getActiveProject()
The getActiveProject function was added in version 0.99.854 of RStudio.
Returns a single element character vector with the path of the currently active RStudio project. Returns NULL if no project is active.