Conference Agenda

Overview and details of the sessions of this conference. Please select a date or location to show only sessions at that day or location. Please select a single session for detailed view (with abstracts and downloads if available).

Session Overview
9A - R in production 3
Friday, 09/July/2021:
8:00pm - 9:30pm

Session Chair: Jennifer Bryan
Zoom Host: Aditi Shah
Replacement Zoom Host: Pamela Pairo
Virtual location: The Lounge #talk_r_production_3
Session Topics:
R in production, R in the wild (unusual applications of R)

Session Sponsor: Roche
Session Slides

8:00pm - 8:20pm
ID: 262 / ses-09-A: 1
Regular Talk
Topics: R in production
Keywords: metrics, monitoring, shiny, plumber

Production Metrics for R with the 'openmetrics' Package

Aaron Jacobs

Crescendo Technology

Production applications are often expected to emit "metrics" so that they can be monitored in real time for problems. However, traditional monitoring vendors expected developers to use their proprietary client libraries, none of which included support for R. This left R users without the option of supporting their organisation's existing vendor, and monitoring support for R applications (such as Shiny apps or Plumber APIs) has remained poor.

Over the last few years, the open-source Prometheus project has become the de facto metrics solution in the Kubernetes community, and its text-based format (now called 'OpenMetrics') has been formalised as a draft IETF standard. This effort is the closest thing in the monitoring community to a widely-accepted standard in its history.

This talk will introduce the {openmetrics} package, a client library for the OpenMetrics standard. It allows R applications to expose metrics to any Prometheus instance, or one of the growing number of open-source and commercial tools that can ingest the OpenMetrics format.

In addition to user-defined, application-specific metrics, the package also bundles general-purpose metrics and can automatically inject them into Shiny apps or Plumber APIs. This makes it easy for R users to add production-ready metrics to their applications in only a few lines of code.

As production use of R grows, expectations about production features -- such as metrics and corresponding alerts -- will grow as well.

8:20pm - 8:40pm
ID: 349 / ses-09-A: 2
Sponsored Talk
Topics: R in the wild (unusual applications of R)

Automating business processes with R

Frans van Dunné

ixpantia, Costa Rica

At ixpantia we help organizations to become their most innovative and data-driven selves through personalized coaching and knowledge transfer, continuous and transparent code handover and the implementation of an efficient and cooperative data culture. To bring the results of data analysis to business processes and decision making, we usually need to automate their execution. Often this means that we need a daily process to write, for example, predicted values to a database.

The possibilities to add value to organizations through the use of tools that are available to us in R are legion. This value lies not only in advanced analytics, but also in the power of dynamic (automated) reports and pre-calculated values that combine multiple formal and informal data sources. The value of R for automating these tasks is often so high because the domain experts themselves are writing it, and can iterate at high speeds to answer to changes in their business context.

In this talk we will share some of the experiences we have had automating tasks with R. We will also present the pragmatic approach to run and monitor scheduled tasks that we have developed. This approach is based on Rmarkdown, a taskscheduler (such as cron) and a Shiny to monitor task execution and completion.

8:40pm - 9:00pm
ID: 347 / ses-09-A: 3
Sponsored Talk
Topics: R in production
Keywords: RStudio Workbench, Collaboration, DevOps, Docker

RStudio Managed Workbench -

Patrick Schratz

cynkra GmbH, Zurich, Switzerland

As a certified RStudio partner, we offer to deploy a full-fledged RStudio Workbench installation on your infrastructure (on-premise) or in the cloud.

In this talk we showcase the benefits of running a centralised RStudio Workbench installation and explain the added value of our containerised service compared to the default binary installation of RStudio Workbench.

Link to package or code repository.

9:00pm - 9:20pm
ID: 354 / ses-09-A: 4
Sponsored Talk
Topics: R in production

A little bit about RStudio

Joseph Rickert

RStudio / R Consortium, United States of America