Learn R Programming

installr (version 0.23.4)

is.Rgui: Checks if the R session is running within Rgui (Windows OS)

Description

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

Usage

is.Rgui(...)

Value

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

Arguments

...

none are available.

Details

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

See Also

is.RStudio, is.windows

Examples

Run this code
if (FALSE) {
is.Rgui() 
}

Run the code above in your browser using DataLab