rstudioapi (version 0.8)

getActiveProject: Path to Active RStudio Project

Description

Returns the path to the currently active RStudio project.

Usage

getActiveProject()

Arguments

Value

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

Examples

Run this code
# NOT RUN {
rstudioapi::getActiveProject()
# }

Run the code above in your browser using DataCamp Workspace