2024-12-09 / Colin Fay / development, shiny

Parallel and Asynchronous Programming in Shiny with future, promise, future_promise, and ExtendedTask

Illustration via ChatGPT. There are three hard things in computer science. One is making ChatGPT write “Invalidation” correctly on an image. ​ There’s a saying that goes: “There are only two hard things in computer science: cache invalidation and naming things.” Well, I’d argue there are actually three: 2. Cache Invalidation 1. Naming things 3. Asynchronous Computing   Yes, that’s ...

2024-11-22 / Arthur Bréant / development, shiny

Signature.py: Award-Winning Application at the 2024 Shiny Contest

🏆 We are excited to announce that {signature.py} is the grand winner of the 2024 Shiny Contest in the category ‘Best Shiny Application with Python’! This year, Posit relaunched the Shiny Contest, a competition dedicated to the development of Shiny applications. Participants are asked to create a personal or professional application that addresses a specific problem. The applications are then ...

2024-09-03 / Yohann Mansiaux / golem, javascript, shiny

Boost your shiny app with sparkling data visualizations: a deep dive into Chart.js JavaScript library

Let’s continue our exploration of integrating JavaScript code into a {shiny} application! We will show how to move beyond the classic graphs produced in base R or with {ggplot2} to explore the interactive dataviz production libraries of JavaScript, particularly the Chart.js library. If you missed our first article on integrating JavaScript libraries into a {shiny} application I invite you to ...

2024-08-26 / Colin Fay / golem, package

{golem} 0.5.0 is now available

Header image generated by ChatGPT We are thrilled to announce the release of {golem} version 0.5.0! This update comes packed with new features, enhancements, and bug fixes that will streamline your Shiny app development process. You can download the latest version from your favorite CRAN repository, or by running the following command in R: pak::pak( “thinkr-open/[email protected]” ) What’s New in This Version? ...

2023-06-05 / Vincent Guyader / shiny

Mastering file download in shiny

But why does downloadHandler now return an empty file!? DownloadHandler context When we start working with {shiny}, we often reach a point where it is necessary to offer the user the option to download a document generated by the application. This document can be a PDF report, a PNG or JPEG image, or anything else. The appropriate function for this ...

2023-03-15 / Colin Fay / golem

{golem} 0.4.0 is now available

The new version of {golem} is available! Read the complete version of this article at https://golemverse.org/post/golem-0.4.0-release-on-cran/ What’s up with this new version? Lighter dependency tree When we release the first version of {golem} on CRAN, we made the decision that all {golem}-based app should depend on {golem}. This was a conscious decision ,and we made it because {golem} comes with a bunch of internal functions that are used ...