Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect whether RStudio is being run on the desktop or server #23

Open
briandconnelly opened this issue Jun 18, 2024 · 0 comments
Open

Comments

@briandconnelly
Copy link
Owner

briandconnelly commented Jun 18, 2024

RSTUDIO_PROGRAM_MODE seems to indicate whether RStudio desktop (value desktop) or Workbench (value server) is being used.

I can't find any documentation for this, but it's been consistent across the instances I've checked.

It doesn't appear to be set in Jupyter notebook environments on Posit Workbench.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant