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 Microsoft unveils imaging APIs for Windows Copilot Runtime Generative AI-backed APIs will allow developers to build image super resolution, image segmentation, object erase, and OCR capabilities into Windows applications. By Paul Krill Nov 19, 2024 2 mins Generative AI APIs Development Libraries and Frameworks news Akka distributed computing platform adds Java SDK Akka enables development of applications that are primarily event-driven, deployable on Akka’s serverless platform or on AWS, Azure, or GCP cloud instances. By Paul Krill Nov 18, 2024 2 mins Java Scala Serverless Computing 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 Resources Videos