File: getActiveProject.Rd

package info (click to toggle)
r-cran-rstudioapi 0.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 592 kB
  • sloc: makefile: 2
file content (25 lines) | stat: -rw-r--r-- 492 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
\name{getActiveProject}
\alias{getActiveProject}
\title{
Path to Active RStudio Project
}
\description{
Returns the path to the currently active RStudio project.
}
\note{
The \code{getActiveProject} function was added in version 0.99.854 of RStudio.
}
\usage{
getActiveProject()
}

\value{
Returns a single element character vector with the path of the currently active RStudio project. Returns \code{NULL} if no project is active.
}

\examples{
\dontrun{
rstudioapi::getActiveProject()
}
}