A project for deploying Shiny applications that will run completely in the browser (R and python)
R and Python are compiled to WebAssembly (aka wasm)
I’ll talk about adding shiny to Quarto documents (a book, in my case)
Your shiny app goes in a single code chunk of type
shinylive-r and use the
You also have to add a Quarto filter in your
To declare packages, use
library() calls or a DESCRIPTION file
The renv package is used to figure this out.
You don’t get automatic access to your local data (currently)
download.file() is an option but it must be done using specific request types.
It’s a work in progress. (GH issue: Add local folder support)
All the source code goes to the client
All of the data goes to the client
Don’t include credentials
Don’t include sensitive data
The example app:
Thanks for the invitation to speak today!
Thanks to George Stagg, Joe Cheng, Winston Chang, Gordon Shotwell, and everyone else who made