RStudio

Plot the new SVG R logo with ggplot2

High resolution and SVG versions of the new R logo are finally available. I converted the SVG to WKT (file here) which means we can use it like we would a shapefile in R. That includes plotting! Here’s a short example of how to read that WKT and plot the logo using ggplot2: library(sp) library(maptools) […]

No image

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 Live Results site and wish you had the data that they used to make the tables & visualizations on the site: Sometimes it’s as simple […]

No image

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. 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 cruft […]

RStudioScreenSnapz003

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 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 […]

CYSe8-BWkAASc1l

The Force: Accounted, in R

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 possible. All the […]

No image

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, 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 […]

rud_is_zellingenach_html

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 some new data processing & visualization tools for the post, but when I saw what he was doing I wondered how hard it would be […]

1 2 3 4 5 6 37