getActiveProject: Retrieve path to active RStudio project

View source: R/stubs.R

getActiveProjectR Documentation

Retrieve path to active RStudio project

Description

Get the path to the active RStudio project (if any). If the path contains non-ASCII characters, it will be UTF-8 encoded.

Usage

getActiveProject()

Value

The path to the current project, or NULL if no project is currently open.

Note

The getActiveProject function was added in version 0.99.854 of RStudio.


rstudio/rstudioapi documentation built on July 16, 2024, 2:12 a.m.