Learn R Programming

startup (version 0.23.0)

is_rstudio_console: Checks if running R in RStudio Console or RStudio Terminal

Description

Checks if running R in RStudio Console or RStudio Terminal

Usage

is_rstudio_console()

Arguments

Value

A logical

References

  1. Kevin Ushey (RStudio), Check if R is running in RStudio, Stackoverflow, 2016-09-23, https://stackoverflow.com/questions/12389158/check-if-r-is-running-in-rstudio#comment66636507_35849779

  2. Jonathan McPherson (RStudio), Programmatically detect RStudio Terminal vs RStudio Console?, RStudio Community - RStudio IDE, 2018-01-10, https://forum.posit.co/t/programmatically-detect-rstudio-terminal-vs-rstudio-console/4107