getActiveProject: Path to Active RStudio Project

Description Usage Value Note Examples

View source: R/stubs.R

Description

Returns the path to the currently active RStudio project.

Usage

1

Value

Returns a single element character vector with the path of the currently active RStudio project. Returns NULL if no project is active.

Note

The getActiveProject function was added in version 0.99.854 of RStudio.

Examples

1
2
3
4
## Not run: 
rstudioapi::getActiveProject()

## End(Not run)

rstudio/rstudioapi documentation built on Feb. 16, 2019, 5:42 a.m.