isAvailable: Check if RStudio is running.

Description Usage Arguments Value Examples

Description

Check if RStudio is running.

Usage

1
2
3
isAvailable(version_needed = NULL)

verifyAvailable(version_needed = NULL)

Arguments

version_needed

An optional version specification. If supplied, ensures that RStudio is at least that version.

Value

isAvailable a boolean; verifyAvailable an error message if RStudio is not running

Examples

1
2
rstudioapi::isAvailable()
## Not run: rstudioapi::verifyAvailable()

rstudio/rstudioapi documentation built on June 7, 2019, 3:43 p.m.