rud.is
Latest posts from rud.is
Capturing wild widgets with webshot
NOTE: you won’t need to use this function if you use the development version of knitr Winston Chang released his webshot package to CRAN this past week. The package wraps…
A Tale of Two Charting Paradigms: Vega-Lite vs R+ggplot2
This post comes hot off the heels of the nigh-feature-complete release of vegalite (virtually all the components of Vega-Lite are now implemented and just need real-world user testing). I’ve had…
Create Vega-Lite specs & widgets with the vegalite package
Vega-Lite 1.0 was released this past week. I had been meaning to play with it for a while but I’ve been burned before by working with unstable APIs and was…
Thai Curry Puffs (Karipap • กะหรี่ปั๊บ)
I made Thai curry puffs for @mrshrbrmstr for Valentine’s Day (paired with Thai crispy duck red curry) and was asked to post the recipe. There are two versions, one with…
Making Faceted Heatmaps with ggplot2
We were doing some exploratory data analysis on some attacker data at work and one of the things I was interested is what were “working hours” by country. Now, I…
Dairy-free Parker House Rolls
Here’s a quick/easy recipe for soft roll dough that you can use to make dairy-free Parker House rolls, knot rolls or just plain rolls. NOTE: It makes ~3lbs of dough.…
Craft httr calls cleverly with curlconverter
UPDATE curlconverter will now return (as the function return value) a working R function. See the README for examples When you visit a site like the LA Times’ NH Primary…
Alternate R Markdown Templates
The knitr/R markdown system is a great way to organize reports and analyses. However, the built-in ones (that come with RStudio/the rmarkdown package) rely on Bootstrap and also use jQuery.…
Cobble XPath Interactively with the xmlview Package
(If you don’t know what XML is, you should probably read a primer before reading this post,) When working with data, one inevitably comes across things encoded in XML. I’m…
iptools 0.3.0 (“Violet Packet”) Now on CRAN with Windows Support!
iptools is a set of tools for working with IP addresses. Not just work, but work fast. It’s backed by Rcpp and now uses the AsioHeaders package by Dirk Eddelbuettel,…
Paths To Discovery: Mapping Your Home Network
Gone are the days when one had a single computer plugged directly into a modem (cable, DSL or good ol’ Hayes). Even the days when there were just one or…
Zellingenach: A visual exploration of the spatial patterns in the endings of German town and village names in R
Moritz Stefaner started off 2016 with a very spiffy post on “a visual exploration of the spatial patterns in the endings of German town and village names”. Moritz was exploring…
World Map Panel Plots with ggplot2 2.0 & ggalt
James Austin (@awhstin) made some #spiffy 4-panel maps with base R graphics but also posited he didn’t use ggplot2 because: …ggplot2 and maps currently do not support world maps at…
Update to metricsgraphics 0.9.0 (now on CRAN)
It’s been a while since I’ve updated my metricsgraphics package. The hit list for changes includes: Fixes for the new ggplot2 release (metricsgraphics uses the movies data set which is…
Fear of WaPo Using Bad Pie Charts Has Increased Since Last Year
I woke up this morning to a headline story from the Washington Post on “Americans are twice as willing to distance Christian extremists from their religion as Muslims”. This post…
An OS X R Task Runner for—and a Mini-R-centric review of—Microsoft’s Visual Studio Code Editor
Microsoft’s newfound desire to make themselves desirable to the hipster development community has caused them to make many things open and/or free of late. One of these manifestations is Visual…
Beware of sideloading f.lux for iOS from files obtained on sharing/torrent sites
Apple made the @justgetflux folks remove their iOS sideloaded app due to the use of private APIs (which are a violation of the Apple Developer agreement). The ZIP archive has…
Using MonetDB[Lite] with real-world CSV files
MonetDBLite (for R) was announced/released today and, while the examples they provide are compelling there’s a “gotcha” for potential new folks using SQL in general and SQL + MonetDB +…
Visualizing Survey Data : Comparison Between Observations
Cybersecurity is a domain that really likes surveys, or at the very least it has many folks within it that like to conduct and report on surveys. One recent survey…
Less Drama, More Encoding
Junk Charts adeptly noted and fixed this excessively stylized chart from the WSJ this week: Their take on it does reduce the ZOMGOSH WE ARE DOOMED! look and feel of…

