is.Rgui function

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