Closed HenrikBengtsson closed 1 year ago
When running R from Rgui on MS Windows, we have that sysinfo()$gui == "Rgui". To align with existing flags such as rstudio, rstudioterm, radian, and ess, would it make sense to add an rgui flag too? If so, it would be:
sysinfo()$gui == "Rgui"
rstudio
rstudioterm
radian
ess
rgui
rgui <- (sysinfo()$gui == "Rgui")
Confirmed by https://ecoevo.social/@noamross/110129662105813180
> .Platform$GUI [1] "AQUA" > Sys.getenv("R_GUI_APP_VERSION") [1] "1.79" > Sys.getenv("R_GUI_APP_REVISION") [1] "8198" >
When running R from Rgui on MS Windows, we have that
sysinfo()$gui == "Rgui"
. To align with existing flags such asrstudio
,rstudioterm
,radian
, andess
, would it make sense to add anrgui
flag too? If so, it would be: