Publications by hrbrmstr

Using MonetDB[Lite] with real-world CSV files

11.11.2015

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 + R together. The toy example on the site shows dumping mtcars with dbWriteTable and then doing things. Real-world CSV files have headers and commas (MonetDB b...

1368 sym R (1750 sym/1 pcs) 1 tbl

An OS X R Task Runner for—and a Mini-R-centric review of—Microsoft’s Visual Studio Code Editor

21.11.2015

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 Studio Code, an Atom-ish editor for us code jockeys. I have friends at Microsoft and the Revolution R folks are there now, so I try to give things from ...

4207 sym R (191 sym/1 pcs) 1 tbl

Fear of WaPo Using Bad Pie Charts Has Increased Since Last Year

13.12.2015

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 is not about the content of the headline or story. It is about the horrible pie chart WaPo led the article with: This isn’t just a rant of a madman against pie ch...

2375 sym R (2707 sym/1 pcs) 4 img 1 tbl

Update to metricsgraphics 0.9.0 (now on CRAN)

21.12.2015

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 now in ggplot2movies) Updated all javascript libraries to the most recent versions Borrowed the ability to add CSS rules to a widget from taucharts (mjs_add_...

1438 sym R (707 sym/1 pcs) 1 tbl

World Map Panel Plots with ggplot2 2.0 & ggalt

29.12.2015

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 this point, which does not give us a great overall view. That is certainly a box I would not put ggplot2 into, especially with the newly updated R maps (et al) p...

1393 sym R (1112 sym/1 pcs) 2 img 1 tbl

Zellingenach: A visual exploration of the spatial patterns in the endings of German town and village names in R

03.01.2016

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 some new data processing & visualization tools for the post, but when I saw what he was doing I wondered how hard it would be to do something similar in R and also use...

6131 sym R (1616 sym/6 pcs) 6 img 5 tbl

iptools 0.3.0 (“Violet Packet”) Now on CRAN with Windows Support!

08.01.2016

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, which means it no longer needs to link against the monolithic Boost libraries and works on Windows! What can you do with it? One thing you can do is take a vector of domain names a...

1934 sym R (1202 sym/2 pcs) 2 tbl

The Force: Accounted, in R

09.01.2016

Despite being a cybersecurity professional, it’s pretty easy to social engineer me: https://t.co/R3qVHEMTLo @hrbrmstr is there an R package? 😉— Thorsten G. (@SaThaRiel74) January 8, 2016 I’ll note that @jayjacobs does it all the time to me. I took Thorsten’s tweet as a challenge to ggplot2-ize the Bloomberg visualizations as best as p...

1066 sym

Cobble XPath Interactively with the xmlview Package

13.01.2016

(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 in the “anti-XML” camp, but deal with my fair share of XML in “cyber” and help out enough people who have to work with XML that I’ve become pretty proficient when...

3015 sym R (419 sym/1 pcs) 2 img 1 tbl

Alternate R Markdown Templates

04.02.2016

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. There’s nothing wrong with that, but the generated standalone HTML documents (which are a great way to distribute reports) don’t really need all that cruf...

3127 sym R (1764 sym/1 pcs) 1 tbl