Shinylive R package exports Shiny R apps as Wasm-enabled Shinylive applications that run completely in a web browser. Credit: Thinkstock The Shiny web framework for R is now officially available in a WebAssembly (Wasm) version that runs in-browser and doesn’t require a back-end Shiny server, Posit CTO Joe Cheng announced at the Posit::conf(2023) user conference today. There are currently three ways to use this new R version of Shinylive (a Python version of Shinylive was announced last year): A new Shinylive R package has an export function that can convert a local Shiny app.R application to a Shinylive application with an index.html file and additional assets. That can then run as other conventional HTML files. The Shinylive.io website now has an R version where users can write and share apps directly in browser, similar to a site like JSFiddle for JavaScript. Shiny apps can now be included as {shinylive-r} code chunks within Quarto documents using the new Shinylive Quarto extension https://github.com/quarto-ext/shinylive. IDG Cheng cautioned that Shinylive for R is still new, and it can currently be slow to download all the necessary R code to a user’s browser. That should speed up in the coming weeks, he said. In addition, not all packages and functions are immediately available, apps can’t connect directly to databases (although API calls may work), and all code and data is fully accessible to end users, so there’s no way to hide things like API keys. You can find out more in the GitHub repository for Cheng’s presentation. Related content analysis Beyond the usual suspects: 5 fresh data science tools to try today The mid-month report includes quick tips for easier Python installation, a new VS Code-like IDE just for Python and R users, and five newer data science tools you won't want to miss. By Serdar Yegulalp Jul 12, 2024 2 mins Python Programming Languages Software Development analysis Generative AI won’t fix cloud migration You’ve probably heard how generative AI will solve all cloud migration problems. It’s not that simple. Generative AI could actually make it harder and more costly. By David Linthicum Jul 12, 2024 5 mins Generative AI Artificial Intelligence Cloud Computing news HR professionals trust AI recommendations HireVue survey finds 73% of HR professionals trust AI to make candidate recommendations, while 75% of workers are opposed to AI making hiring decisions. By Paul Krill Jul 11, 2024 3 mins Technology Industry Careers how-to Safety off: Programming in Rust with `unsafe` What does it mean to write unsafe code in Rust, and what can you do (and not do) with the 'unsafe' keyword? The facts may surprise you. By Serdar Yegulalp Jul 11, 2024 8 mins Rust Programming Languages Software Development Resources Videos