getMode: Report whether RStudio Desktop or RStudio Server is in use

View source: R/code.R

getModeR Documentation

Report whether RStudio Desktop or RStudio Server is in use

Description

Use getMode() if you need to differentiate between server and desktop installations of RStudio.

Usage

getMode()

Value

"desktop" for RStudio Desktop installations, and "server" for RStudio Server / RStudio Workbench installations.


rstudioapi documentation built on Oct. 23, 2024, 1:07 a.m.