is.R
Test If Running Under an R Compatible Engine

Description

Returns TRUE if running under R or Spotfire Enterprise Runtime for R. You can use this function when you are writing code specific to one of the particular dialects of R (open source R or Spotfire Enterprise Runtime for R). In S-PLUS, is.R returns FALSE.

Usage

is.R()

Details

The construct identical(version$language, "TERR") can be used to distinguish between Spotfire Enterprise Runtime for R (returns TRUE) and open source R or S-PLUS.
Value
returns TRUE under R and Spotfire Enterprise Runtime for R. Otherwise, returns FALSE.
Package base version 6.1.1-7
Package Index