Learn R Programming

contextual (version 0.9.8.4)

is_rstudio: Check if in RStudio

Description

Detects whether R is open in RStudio.

Usage

is_rstudio()

Arguments

Value

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

Examples

Run this code
# NOT RUN {
is_rstudio()

# }

Run the code above in your browser using DataLab