Skip to content

Launching R Shiny in browser #8427

Answered by sharon-wang
howardbaik asked this question in Q&A
Discussion options

You must be logged in to vote

Just to confirm, do you have the Shiny extension (posit.shiny) installed? The setting shiny.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…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@howardbaik
Comment options

@sharon-wang
Comment options

Answer selected by sharon-wang
@howardbaik
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants