Last data update: 2014.03.03

R: Path to Active RStudio Project
getActiveProjectR Documentation

Path to Active RStudio Project

Description

Returns the path to the currently active RStudio project.

Usage

getActiveProject()

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

## Not run: 
rstudioapi::getActiveProject()

## End(Not run)

Results