Articles by ryan hafen

Pokemon and TrelliscopeJS!

December 29, 2016 | ryan hafen

I’m always looking for ways to spark my kid’s interest in computers, data, etc. This has proven to be more difficult than I thought it would be (kids these days…). I suspect this may have something to do with the ubiquity of electronic devices that “just work”, making ... [Read more...]

TrelliscopeJS with Plotly

December 21, 2016 | ryan hafen

In response to a user’s request and after a short conversation with Carson Sievert (creator / maintainer of the plotly R package), I recently made a small tweak to TrelliscopeJS to make it very easy to create Trelliscope displays with interactive Plotly panels. A simple example is shown in this ... [Read more...]

Visualizing 15k Instagram Posts with TrelliscopeJS

December 7, 2016 | ryan hafen

This post shows a simple example of creating an interactive display that allows you to navigate thousands of instagram posts with just a few lines of code using TrelliscopeJS. The example comes from a hackathon in the DARPA XDATA program earlier this year. If you missed the announcement about TrelliscopeJS, ... [Read more...]

Introducing trelliscopejs

November 17, 2016 | ryan hafen

I’m really excited to announce the beta release of a visualization project I’ve put a lot of work into for the past several months, trelliscopejs. trelliscopejs is an R package that brings faceted visualizations to life while plugging in to common analytical workflows like ggplot2 or the “tidyverse”. ... [Read more...]

New R package: packagedocs

November 3, 2016 | ryan hafen

I’m pleased to announce the CRAN release of packagedocs which provides a mechanism for simple generation and automated deployment of nice-looking online R package documentation that plugs into the traditional R package vignette system. You can see... [Read more...]

rbokeh Version 0.5.0 Released

November 2, 2016 | ryan hafen

The rbokeh package version 0.5.0 was recently released. For those not familiar with rbokeh, it is a plotting library based on BokehJS with the goal of making it easy to flexibly create declarative interactive web-based visualizations in R. To get an o... [Read more...]

New R package: lazyrmd

May 17, 2016 | ryan hafen

This post is about an R Markdown html document format that provides the ability to lazily load plot outputs in R Markdown-generated html. Since my last post I’ve had my nose to the grindstone on some work for a client and have been (quite enjoya... [Read more...]

rmote Updates

March 13, 2016 | ryan hafen

I recently announced the rmote package for serving various graphics from an interactive remote R session to a local machine. I have made a few noteworthy upates to the package, so here’s a quick post about them. The most major update is an enhanced... [Read more...]

Sharing htmlwidgets as Gists

March 9, 2016 | ryan hafen

A little-known feature in rbokeh is a function that will save an htmlwidget (including rbokeh figures of course) to a github gist and share it, along with its source code, through services like bl.ocks.org or allow it to be embedded in a web-based docu... [Read more...]

New R Package: rmote

March 2, 2016 | ryan hafen

I often find myself in the situation where I need to log into a remote machine to do analysis in R but do not have a satisfactory way to view output of graphics being generated in the remote session. There are many possible ways to work graphically wi... [Read more...]

rbokeh Version 0.4.1 Released

February 29, 2016 | ryan hafen

The rbokeh package version 0.4.1 was recently released. The most major addition in 0.4 is support for javascript callbacks for custom interactivity, which I’ll provide an example of below and will be posting about in more detail soon. Thanks to i... [Read more...]

Plotting Lots of Data with rbokeh

February 4, 2016 | ryan hafen

A common issue when dealing with more than a few thousand data points is how to effectively make scatterplots. There is a lot of research on this topic that I won’t go into in any detail, but in this post I’ll just point out a few features that ... [Read more...]

Plotting Maps in rbokeh

February 3, 2016 | ryan hafen

There are many map plotting features in rbokeh that I haven’t been able to cover in detail in the documentation. This post will go into a few of those, including google map types, custom map styles, and using different layer functions to plot on top... [Read more...]

rbokeh Version 0.3.4 Released

February 2, 2016 | ryan hafen

The rbokeh package version 0.3.4 was recently released. First of all, if you are new to rbokeh, check out the documentation here to get familiar with the package. You can install the latest version with the following: install.packages("rbokeh", re... [Read more...]

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)