Articles by Colin Fay

Advent of Code 2019-03 with R & JavaScript

December 2, 2019 | Colin Fay

Solving Advent of Code 2019-03 with R and JavaScript. [Disclaimer] Obviously, this post contains a big spoiler about Advent of Code, as it gives solutions for solving day 3. [Disclaimer bis] I’m no JavaScript expert so this might not be the perfect... [Read more...]

Advent of Code 2019-02 with R & JavaScript

December 1, 2019 | Colin Fay

Solving Advent of Code 2019-02 with R and JavaScript. [Disclaimer] Obviously, this post contains a big spoiler about Advent of Code, as it gives solutions for solving day 2. [Disclaimer bis] I’m no JavaScript expert so this might not be the perfect... [Read more...]

Advent of Code 2019-01 with R & JavaScript

November 30, 2019 | Colin Fay

Solving Advent of Code 2019-01 with R and JavaScript. [Disclaimer] Obviously, this post contains a big spoiler about Advent of Code, as it gives solutions for solving day 1. [Disclaimer bis] I’m no JavaScript expert so this might not be the perfect... [Read more...]

Getting started with {golem}

September 29, 2019 | Colin Fay

A little blog post about where to look if you want to get started with {golem}, and an invitation to code with us in October. go-what? If you’ve never heard about it before, {golem} is a tool for building production-grade Shiny applications. With {golem}, Shiny developers have a toolkit ... [Read more...]

JavaScript cont in R

September 22, 2019 | Colin Fay

One thing I like about JavaScript is the const declaration method, which allows you to declare a variable one time, and that variable can’t be reassigned after that. I.e, this piece of code will throw an error: node -e "const x = 12; x = 14" ## [... [Read more...]

Back from useR! 2019

July 13, 2019 | Colin Fay

I’m back from useR! 2019!, Toulouse, where I gave one talk and a workshop. Here are the links to the materials. 2019-07-08 Contributing to the R ecosystem useR! newbie session A short talk about things you can do as a beginner to contibute to... [Read more...]

Create a CLI for R with npm

May 21, 2019 | Colin Fay

How to build a CLI for R, with npm. Background This blog post was triggered by a discussion on Twitter with Martin Skarzynski, who was looking for a way to build a CLI that launches an RScript. Here’s a way to do this using npm. Please note that t... [Read more...]

Building a Shiny App as a Package

April 30, 2019 | Colin Fay

Shiny App as a Package In a previous post, I’ve introduced the {golem} package, which is an opinionated framework for building production-ready Shiny Applications. This framework starts by creating a package skeleton waiting to be filled. But, in a world where Shiny Applications are mostly created as a series ... [Read more...]

{attempt} 0.3.0 is now on CRAN

April 14, 2019 | Colin Fay

Last week, a new version of {attempt} was published on CRAN. This version includes some improvements in the current code base, and the addition of new functions. You can get it with our old friend install.packages install.packages("attempt") News i... [Read more...]

Building Big Shiny Apps — A Workflow 2/2

March 4, 2019 | Colin Fay

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 ...
[Read more...]

A little trick for debugging Shiny

February 3, 2019 | Colin Fay

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 ...
[Read more...]

Watch if R is running from Shiny

January 28, 2019 | Colin Fay

Today I discovered that the 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 t... [Read more...]

Building Big Shiny Apps — A Workflow (1/2)

January 27, 2019 | Colin Fay

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 a transcription of what I've been explaining while presenting the poster.Read More → The post Building Big Shiny Apps — A Workflow (1/2) appeared first ...
[Read more...]

{remedy} is now on CRAN

December 10, 2018 | Colin Fay

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 ...
[Read more...]
1 2 3 4 5

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)