Publications by Colin Fay
Solving #AdventOfCode day 5 and 6 with R
Solving the puzzles of Advent of Code with R. [Disclaimer] Obviously, this post contains a big spoiler about Advent of Code, as it gives solutions for solving days quoted in the title. Advent of Code Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programmi...
3729 sym R (3788 sym/15 pcs)
Solving #AdventOfCode day 3 and 4 with R
Solving the puzzles of Advent of Code with R. [Disclaimer] Obviously, this post contains a big spoiler about Advent of Code, as it gives solutions for solving day 1 and 2. Advent of Code Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language y...
3876 sym R (9281 sym/13 pcs)
{remedy} is now on CRAN
After living for more than a year on GitHub, we are pleased to announce that the {remedy} package is now on CRAN. A package for easier Markdown writing About {remedy} Have you ever been frustrated about having to manually add markdown tags to your Rmd? If you are an avid markdown user, no doubt you’ve been complaining about what should be an...
2838 sym R (1185 sym/2 pcs) 6 img
2018 through {cranlogs}
2018 at glance with {cranlogs}. Let’s load the necessary packages. library(cranlogs) library(data.table) library(lubridate) ## ## Attaching package: 'lubridate' ## The following objects are masked from 'package:data.table': ## ## hour, isoweek, mday, minute, month, quarter, second, wday, ## week, yday, year ## The following object...
877 sym R (3336 sym/11 pcs) 10 img
An Introduction to Docker for R Users
A quick introduction on using Docker for reproducibility in R. Disclaimer: this blog post is an introduction to Docker for beginners, and will takes some shortcuts 😉 What is Docker? Docker is “a computer program that performs operating-system-level virtualization, also known as ‘containerization’” Wikipedia. As any first line of a Wi...
7266 sym R (1216 sym/12 pcs)
Building Big Shiny Apps — A Workflow (1/2)
During the rstudio::conf(2019L), I’ve presented an eposter called “Building Big Shiny Apps — A Workflow”. You can find the poster here, and this blog post is an attempt at a transcription of what I’ve been talking about while presenting the poster. As this is a rather long topic, I’ve divided this post into two parts: this first post ...
6710 sym 16 img
Watch if R is running from Shiny
Today I discovered that the <html> tag of a Shiny App gets the shiny-busy class when computation is done in the R process. Which means that you can potentially watch with JavaScript if the R process is running. TIL — Shiny Apps switch to the ‘shiny-busy’ class when R is performing computation in the background. So it’s basically possible...
2056 sym R (1572 sym/2 pcs) 2 img
A little trick for debugging Shiny
This is gonna be a short post about a little trick I’ve been using while developing Shiny Apps. (Spoiler: nothing revolutionary) A browser anywhere, anytime The first thing to do is to insert an action button, and a browser() in the observeEvent() watching this button. This is a standard approach: at any time, you just press this button, and y...
1551 sym R (280 sym/1 pcs) 2 img
Building Big Shiny Apps — A Workflow 2/2
Second part of the blog transcription of the talk I’ve given during the eposter session of the rstudio::conf(2019). Read the first part here. Building Big Shiny Apps: step by step Step 1: Designing Don’t rush into coding. I know you want to, because it’s what we like to do and what we are good at. But before entering the coding marathon, ...
9752 sym 10 img
See you at useR! Toulouse
Hey all, just a quick post to give you some details about my workshop at useR! 2019, in Toulouse! Hacking RStudio: Advanced Use of your Favorite IDE About Have you ever wanted to become more productive with RStudio? Then this workshop is made for you! You’ve been wandering the web for a while now, reading about all the things the cool kids do ...
1730 sym