Learn R Programming

installr (version 0.22.0)

is.RStudio: Checks if the R session is running within RStudio

Description

Returns TRUE/FALSE if the R session is running within RStudio or not.

Usage

is.RStudio(...)

Arguments

...

none are available.

Value

Returns TRUE/FALSE if the R session is running within RStudio or not.

Details

This function is used in order to check if a GUI can be added to the session or not.

Examples

Run this code
# NOT RUN {
is.RStudio() 
# }

Run the code above in your browser using DataLab