Publications by Dean Attali's R Blog

Building Shiny apps – an interactive tutorial

07.12.2015

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 to R users who have 0 experience with web development, and you do not need t...

51155 sym R (8875 sym/41 pcs) 16 img

Building Shiny apps – an interactive tutorial

07.12.2015

This tutorial was originally developed for the STAT545 course at UBC, but I decided to publish it shortly afterwards so that more people can benefit from it 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 to R users who have 0 e...

43733 sym R (9744 sym/39 pcs) 14 img

ezknitr: R package to avoid the typical working directory pain when using knitr

09.12.2015

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 directory where the source file lives should be the working directory, which is often not tr...

8615 sym R (1149 sym/5 pcs)

ezknitr: R package to avoid the typical working directory pain when using knitr

09.12.2015

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 directory where the source file lives should be the working directory, which is often not tr...

8615 sym R (1165 sym/5 pcs)

Need any more reason to love R-Shiny? Here: you can even use Shiny to create simple games!

26.01.2016

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 previous post about it). One of my reasons for liking Shiny so much is that you can do so...

4388 sym 4 img

Need any more reason to love R-Shiny? Here: you can even use Shiny to create simple games!

26.01.2016

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 previous post about it). One of my reasons for liking Shiny so much is that you can do so much more with it than what it was built for, and it’s fun to think of new us...

4308 sym 4 img

An awesome RStudio addin for selecting colours, and another for adding marginal density plots to ggplot2

30.03.2016

TL;DR: There’s a colour picker addin in shinyjs and a ggplot2 marginal plots addin in ggExtra. Any R user who hasn’t been spending the past 2 months under a rock should know by now about RStudio’s new exciting features: addins and gadgets. (In case you don’t know, here’s a summary: Gadgets are simply Shiny apps that return a value, and...

4775 sym R (88 sym/1 pcs) 6 img

List of useful RStudio addins made by useRs

30.03.2016

RStudio’s new feature of supporting addins is great. It’s about 2 months old now, and I think one of the main problems right now is discoverability: there’s just no easy way to find addins or publish your own. As a first attempt at making addins more discoverable, I started a GitHub repo listing some addins, with the hope that other useRs w...

1332 sym

addinslist package: An RStudio addin to discover and install RStudio addins

09.05.2016

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 a GitHub repo with a list of RStudio addins that was mean...

2069 sym 4 img

addinslist package: An RStudio addin to discover and install RStudio addins

09.05.2016

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 a GitHub repo with a list of RStudio addins that was mean...

2069 sym 4 img