rstudioapi (version 0.4.0)

isAvailable: Check if RStudio is running.

Description

Check if RStudio is running.

Usage

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

Run this code
rstudioapi::isAvailable()
## Not run: rstudioapi::verifyAvailable()

Run the code above in your browser using DataCamp Workspace