Shiny for R and Python can be You’ll need Git and the Heroku CLI. We will implement scaling, which implies that at least the Standard dyno type due to the default scaling limits. ⚠️ Starting November 28, 2022, free Heroku Dynos, free Heroku Postgres, and free Heroku Data for Redis will no longer be available […]
Manage Dependencies with the deps R Package for Docker Containers
When building Docker images for your R-based applications, the biggest hurdle is knowing exactly which packages and system libraries your package depends on. Luckily, the tools have evolved quite a bit over the past few years. In this post, I show you where the deps package fits in and how this can be a great […]
Containerizing Shiny for Python and Shinylive Applications
Shiny is a framework that makes it easy to build interactive web applications. Shiny was introduced 10 years ago as an R package. In his 10th anniversary keynote speech, Joe Cheng announced Shiny for Python at the 2022 RStudio Conference. Python programmers can now try out Shiny to create interactive data-driven web applications. Shiny comes […]
How to Set Up Quarto with Docker, Part 2: Dynamic Content
Most of these options do not really require the hosting to be container based, because the rendered HTML can be published to static hosting sites, such as Prerequisites The code from this post can be found in the You will also need Docker Desktop installed. If you want Quarto to be installed on your local […]
How to Set Up Quarto with Docker, Part 1: Static Content
Quarto is an open-source scientific and technical publishing system built on Pandoc. It is a cross-platform tool to create dynamic content with Python, R, Julia, and Observable. Quarto.org Quarto documents follow literate programming principles where the code “chunks” are weaved together with text chunks. From an R programming perspective, Quarto documents with a .qmd file […]
We Need to Talk About Docker Registries
Many Docker tutorials begin with docker pull as the first command to cover. The docker pull command is followed by the “tag” of a Docker image that we want to be pulled. Say that we wanted the latest Alpine Linux image (I picked this due to its minimal size): docker pull alpine:latest # latest: Pulling […]
Containerizing Interactive R Markdown Documents
The You can also pull the following two Docker images: docker pull eddelbuettel/r2u:20.04 docker pull nginx:alpine Runtime: Shiny The way to make R Markdown document interactive/reactive is to add runtime: shiny to the document’s YAML header. Now you can add Shiny widgets and Shiny render functions to the file’s R code chunks. This way the […]
UseR!2022: Best Practices for Shiny Apps with Docker and More
The useR!2022 event was hosted by the Department of Biostatistics at Vanderbilt University Medical Center. The organizers and volunteers did an outstanding job to run the event smoothly and I am sure all the presenters and participants felt this dedication and professionalism the same way as I did. Here are the most memorable presentations related […]
How Many Shiny Apps Can You Host for Free?
Shiny is an incredible piece of technology. The ease of which with you can make simple prototypes or even production-grade applications is unparalleled. All you need is a bit of R skills. But all this is worthless unless you can present your app to your users. If you are just starting out, you don’t need […]