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 news Spin 3.0 supports polyglot development using Wasm components Fermyon’s open source framework for building server-side WebAssembly apps allows developers to compose apps from components created with different languages. By Paul Krill Nov 18, 2024 2 mins Microservices Serverless Computing Development Libraries and Frameworks how-to How to use DispatchProxy for AOP in .NET Core Take advantage of the DispatchProxy class in C# to implement aspect-oriented programming by creating proxies that dynamically intercept method calls. By Joydip Kanjilal Nov 14, 2024 7 mins Microsoft .NET C# Development Libraries and Frameworks news Microsoft’s .NET 9 arrives, with performance, cloud, and AI boosts Cloud-native apps, AI-enabled apps, ASP.NET Core, Aspire, Blazor, MAUI, C#, and F# all get boosts with the latest major rev of the .NET platform. By Paul Krill Nov 12, 2024 4 mins C# Generative AI Microsoft .NET feature Can Wasm replace containers? WebAssembly revolutionized browser apps, and promises to upend the server stack. How will it impact containers and Kubernetes? Six experts weigh in. By Bill Doerrfeld Nov 11, 2024 12 mins Containers Kubernetes Cloud Native Resources Videos