Asking #quarto experts: is it possible to render quarto files containing python #shinylive code in #Rstudio using a virtual environment?

Maybe @christof has some ideas?

@stefan_hessbrueggen I haven't tried it, so really don't know. But this looks at least promising: https://github.com/quarto-ext/shinylive

Would be interested in hearing what you find out, or what others can report!

GitHub - quarto-ext/shinylive: Quarto extension to embed Shinylive for Python applications

Quarto extension to embed Shinylive for Python applications - quarto-ext/shinylive

GitHub
@christof Yes, shinylive in quarto works, we tested it and will use it in PRODATPHIL. The question concerns the 'authoring environment' we will support. Rstudio is handy, because it contains a complete environment. But in order to render pages with shinylive apps locally (i. e. not using CI/CD), Python libraries must be installed. And if you render in Rstudio, the libraries must be installed in the system python installation, or so it seems. 1/
@christof so we will probably suggest that people use Jupyter notebooks for authoring quarto pages. They can be started from a virtual environment, so we don't need to change the system python. 2/2
@stefan_hessbrueggen @christof Do reticulate’s general environment discovery options help? https://rstudio.github.io/reticulate/articles/versions.html
Python Version Configuration

@felwert @christof ah, this looks interesting! Thx! Will ask my team to test this.*

* Ich habe ja meine Leute. ;)