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

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

if (FALSE) { is.RStudio() }