Publications by Data Imaginist - R posts

Taking control of animations in R and demystifying them in the process

01.05.2017

A while ago (a very long time ago some would say) I showed how I had created my logo using R. In that post I left on the bombshell that I would return and show you how it is possible to add some fancy animation to it. The time to do that is now! During this post I will go in depth with how it is possible to make very fancy and custom animations...

5945 sym R (7076 sym/12 pcs) 14 img

Introducing tidygraph

06.07.2017

I’m very pleased to announce that my new package tidygraph is now available on CRAN. As the name suggests, tidygraph is an entry into the tidyverse that provides a tidy framework for all things relational (networks/graphs, trees, etc.). tidygraph is a relatively big package in terms of exported functions (280 exported symbols) so all functi...

16945 sym R (11825 sym/36 pcs) 16 img

Reigniting the fire: A roadmap for fiery

11.07.2017

Last summer, just prior to starting as an intern working for Hadley, I published fiery, a flexible webserver framework that I had worked on during the spring. The reason why I developed fiery amids offerings such as shiny, opencpu, and plumbr was that I was missing a back-to-basic server framework with low overhead and freedom to program your ser...

3926 sym 2 img

Beneath the canvas

23.07.2017

Recently a blog post made its rounds on the internet describing how it is possible to speed up plot creation in ggplot2 by first creating a blank canvas and then later adding the plot elements on top of it. The main takeaway plot is reproduced below: The blog post is in generally well reasoned and I love how it moves from a curious observation t...

6727 sym R (3727 sym/14 pcs) 6 img

Introducing reqres

12.08.2017

I’m very happy to announce that reqres has been released on CRAN. reqres is a new (in R context) approach to working with HTTP messages, that is, the requests you send to a server and the respons it returns. The uunderlying mechanics of a web server is seldom something that R users comes into contact with, indeed the most popular way of usin...

8705 sym R (7803 sym/69 pcs) 2 img

When A Fire Starts to Burn – Fiery 1.0 released

15.08.2017

I’m pleased to announce that fiery has been updated to version 1.0 and is now available on CRAN. As the version bump suggests, this is a rather major update to the package, fixing and improving upon the framework based on my experience with it, as well as introducing a number of breaking changes. Below, I will go through the major points of th...

7666 sym R (2540 sym/5 pcs) 2 img

I made a 3D movie with ggplot2 once – here’s how I did it

17.08.2017

Some time ago (last year actually ?) I had a blast developing a feature for ggforce which had been on my mind for far to long than its limited utility warranted. The idea was to showcase the new facetting extension powers I’d added to ggplot2 by making a facetting function that created a stereoscopic pair of plots that would simulate 3D. To p...

3483 sym R (3130 sym/11 pcs) 12 img

Introducing routr – Routing of HTTP and WebSocket in R

21.08.2017

routr is now available on CRAN, and I couldn’t be happier. It’s release marks the completion of an idea that stretches back longer than my attempts to bring network visualization and ggplot2 together (see this post for ref). While my PhD was still concerned with proteomics a began developing GUI’s based on shiny for managing different parts...

7885 sym R (2614 sym/14 pcs) 2 img

Announcing lime – Explaining the predictions of black-box models

13.09.2017

I’m very pleased to announce that lime has been released on CRAN. lime is an implementation of the model prediction explanation framework described in “Why Should I Trust You?”: Explaining the Predictions of Any Classifier paper. The authors of the paper have developed a Python implementation and while the two implementations share many ov...

15279 sym R (4266 sym/8 pcs) 4 img