is_rstudio_desktop

Is RStudio running in desktop or server mode?

Checks for RStudio desktop or server version.

Usage
is_rstudio_desktop()

is_rstudio_server()
References

The values that RStudio uses for its mode are defined in https://github.com/rstudio/rstudio/blob/master/src/cpp/session/include/session/SessionConstants.hpp via the constants kSessionProgramModeDesktop and kSessionProgramModeServer.

See Also

is_rstudio, is_rstudio_current

Aliases
  • is_rstudio_desktop
  • is_rstudio_server
Examples
is_rstudio_desktop()
is_rstudio_server()
Documentation reproduced from package assertive.reflection, version 0.0-1, License: GPL (>= 3)

Community examples

Looks like there are no examples yet.