Detects whether R is open in RStudio.

is_rstudio()

Value

A logical value that indicates whether R is open in RStudio.

Examples

is_rstudio()
#> [1] FALSE