rstudioapi (version 0.6)

getVersion: Return the current version of the RStudio API

Description

Return the current version of the RStudio API

Usage

getVersion()

Arguments

Value

A numeric_version which you can compare to a string and get correct results.

Examples

Run this code
# NOT RUN {
if (rstudioapi::getVersion() < "0.98.100") {
  message("Your version of RStudio is quite old")
}
# }

Run the code above in your browser using DataCamp Workspace