We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Issue when rendering shiny for python in rstudio. It works but its sent to localhost: Listening on http://localhost:7553/
Even if I preview in window or in viewer pane.
--- title: "Penguin Bills" format: dashboard server: shiny --- ```{python} import seaborn as sns penguins = sns.load_dataset("penguins") ``` ## {.sidebar} ```{python} from shiny.express import render, ui ui.input_select("x", "Variable:", choices=["bill_length_mm", "bill_depth_mm"]) ui.input_select("dist", "Distribution:", choices=["hist", "kde"]) ui.input_checkbox("rug", "Show rug marks", value = False) ``` ## Column ```{python} @render.plot def displot(): sns.displot( data=penguins, hue="species", multiple="stack", x=input.x(), rug=input.rug(), kind=input.dist()) ```
It should be previewed in the Viewer Pane. I opened the same R project in Vs code and when I rendered the document it renders properly.
Starting python3 kernel...Done Executing 'example_dashboard.quarto_ipynb' Cell 1/3: ''...Done Cell 2/3: ''...Done Cell 3/3: ''...Done pandoc to: html output-file: example_dashboard.html template: /Applications/quarto/share/formats/dashboard/template.html standalone: true section-divs: true html-math-method: mathjax wrap: none default-image-extension: png metadata document-css: false link-citations: true date-format: long lang: en page-layout: custom title: Penguin Bills server: type: shiny remove-hidden: all INFO: Started server process [7919] INFO: Waiting for application startup. INFO: Application startup complete. Listening on http://localhost:7553/ INFO: Uvicorn running on http://127.0.0.1:7553 (Press CTRL+C to quit) INFO: 127.0.0.1:61299 - "GET /example_dashboard.qmd HTTP/1.1" 404 Not Found
> sessionInfo() R version 4.4.2 (2024-10-31) Platform: aarch64-apple-darwin20 Running under: macOS Sequoia 15.1.1 Matrix products: default BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib LAPACK: /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRlapack.dylib; LAPACK version 3.12.0 locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 time zone: America/Lima tzcode source: internal attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] digest_0.6.37 fastmap_1.2.0 xfun_0.47 glue_1.8.0 knitr_1.47 [6] pkgconfig_2.0.3 htmltools_0.5.8.1 rmarkdown_2.27 lifecycle_1.0.4 cli_3.6.3 [11] vctrs_0.6.5 rsconnect_1.2.2 compiler_4.4.2 rstudioapi_0.16.0 tools_4.4.2 [16] rsthemes_0.4.0.9000 hms_1.1.3 evaluate_0.24.0 yaml_2.3.10 rlang_1.1.4
Yes I'm a Mac user.
Quarto 1.6.39 [✓] Checking environment information... Quarto cache location: /Users/santiagosotelo/Library/Caches/quarto [✓] Checking versions of quarto binary dependencies... Pandoc version 3.4.0: OK Dart Sass version 1.70.0: OK Deno version 1.46.3: OK Typst version 0.11.0: OK [✓] Checking versions of quarto dependencies......OK [✓] Checking Quarto installation......OK Version: 1.6.39 Path: /Applications/quarto/bin [✓] Checking tools....................OK TinyTeX: v2023.07.08 Chromium: (not installed) [✓] Checking LaTeX....................OK Using: TinyTex Path: /Users/santiagosotelo/Library/TinyTeX/bin/universal-darwin Version: 2023 [✓] Checking basic markdown render....OK [✓] Checking Python 3 installation....OK Version: 3.11.6 Path: /Users/santiagosotelo/.virtualenvs/r-reticulate/bin/python3 Jupyter: 5.7.2 Kernels: python3 [✓] Checking Jupyter engine render....OK [✓] Checking R installation...........OK Version: 4.4.2 Path: /Library/Frameworks/R.framework/Resources LibPaths: - /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library knitr: 1.47 rmarkdown: 2.27 [✓] Checking Knitr engine render......OK
The text was updated successfully, but these errors were encountered:
It seems to be unrelated to Quarto CLI and to be an issue with the IDE.
https://github.com/rstudio/rstudio
Be sure to use the latest version available of the IDE.
Sorry, something went wrong.
No branches or pull requests
Bug description
Issue when rendering shiny for python in rstudio. It works but its sent to localhost:
Listening on http://localhost:7553/
Even if I preview in window or in viewer pane.
Steps to reproduce
Expected behavior
It should be previewed in the Viewer Pane. I opened the same R project in Vs code and when I rendered the document it renders properly.
Actual behavior
Your environment
Yes I'm a Mac user.
Quarto check output
The text was updated successfully, but these errors were encountered: