Launching R Shiny in browser #8427
Answered
by
sharon-wang
howardbaik
asked this question in
Q&A
-
Is there a setting to automatically launch R Shiny apps in the browser? In RStudio, I could set |
Beta Was this translation helpful? Give feedback.
Answered by
sharon-wang
Jul 8, 2025
Replies: 1 comment 3 replies
-
Hi @howardbaik! Does configuring the setting ![]() |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just to confirm, do you have the Shiny extension (
posit.shiny
) installed? The settingshiny.previewType
comes from the Shiny extension and should apply when running the Shiny: Run Shiny App command in the Command Palette, or when using the play button in the editor actions to "Run Shiny App".The Shiny extension does not seem to support
options(shiny.launch.browser = TRUE)
though -- if you would like to see this behaviour, please open a feature request issue in the Shiny VS Code extension repo: https://github.com/posit-dev/shiny-vscode/issues.If you're running the Shiny app via an R Console in Positron,
options(shiny.launch.browser = TRUE)
is not currently supported. I've opened an issu…