For those who aren’t familiar with the colourpicker package, it provides a colour picker for R that can be used in Shiny, as well as other related tools. Today it’s leaving behind its 0.x days and moving on to version 1.0! colourpicker has gone through a... [Read More]
What makes an R talk popular? Scraping useR2017 attendance information to find out!
Click here to explore the data for yourself First off — I’ll admit that was my poor attempt at a click-bait title. But if you’re still reading the next paragraph, that means it was successful! Table of contents Background <a... [Read More]
Plot Colour Helper - Finally an easy way to pick colours for your R plots!
You’ve just made an amazing plot in R, and the only thing remaining is finding the right colours to use. Arghhh this part is never fun… You’re probably familiar with this loop: try some colour values -> plot -> try different colours -> plot -> repeat. Don’t you wish there... [Read More]
How to write a useful htmlwidgets in R: tips and walk-through a real example
I’d like to share some tips and recommendations on building htmlwidgets, based on my own learning experience while creating timevis. These tips are mostly concerned with making your htmlwidget more useful and user friendly. In this post, every tip I provide will be followed by an actual code... [Read More]
Shiny tips & tricks for improving your apps and solving common problems
This document contains a collection of various Shiny tricks that I commonly use or that I know many people ask about. Each link contains a complete functional Shiny app that demonstrates how to perform a non trivial task in Shiny. The complete up-to-date list of tips, along with all the... [Read More]
Visualizing when I'm most productive during the day
Analyzing my (and others') git activity
Click here to explore the data yourself Yesterday I saw this retweet from @timelyportfolio that links to a gist by @gka. The gist gave a few short scripts that can show you when your git commits take place during the... [Read More]
addinslist package: An RStudio addin to discover and install RStudio addins
RStudio addins were released in early 2016 to provide anyone with the ability to add “extensions” to RStudio. This feature has quickly become popular, but discoverability was a problem: there was just no easy way to know what addins exist. To address that issue, one month ago I created... [Read More]
Need any more reason to love R-Shiny? Here: you can even use Shiny to create simple games!
TL;DR Click here to play a puzzle game written entirely in Shiny (source code). Anyone who reads my blog posts knows by now that I’m very enthusiastic about Shiny (the web app framework for R - if you didn’t know what Shiny is then I suggest reading my... [Read More]
ezknitr: R package to avoid the typical working directory pain when using knitr
A new package has hit the CRAN shelves this week. While knitr is one of the most useful R packages in existence, ezknitr is a simple extension to it that adds flexibility in several ways. One common source of frustration with knitr is that it assumes the... [Read More]
Building Shiny apps - an interactive tutorial
If you want tutoring/training in Shiny or need help with building a Shiny app, I’m available for hire. Shiny is a package from RStudio that can be used to build interactive web pages with R. While that may sound scary because of the words “web pages”, it’s geared... [Read More]