Articles by hrbrmstr

Using MonetDB[Lite] with real-world CSV files

November 11, 2015 | hrbrmstr

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 ... [Read more...]

An Ephemeral Update to daylight()

November 2, 2015 | hrbrmstr

This occurrence of the bi-annual corruption of the space-time continuum (i.e. changing to/from standard/daylight time) in the U.S. caused me to make a slight change to the code from an older post. The daylight() function now auto-discovers the date and location information (via telize) from the ...
[Read more...]

Less Drama, More Encoding

October 24, 2015 | hrbrmstr

Junk Charts adeptly noted and fixed this excessively stylized chart from the WSJ this week: Their take on it does reduct the ZOMGOSH WE ARE DOOMED! look and feel of the WSJ chart: But, we can further reduce the drama by using a more neutral color encoding and encode both ...
[Read more...]

Installing R on OS X – “100% Homebrew Edition”

October 22, 2015 | hrbrmstr

In a previous post I provided “mouse-heavy” instructions for getting R running on your Mac. A few of the comments suggested that an “all Homebrew” solution may be preferable for some folks. Now, there are issues with this since getting “support” for what may be R issues will be very ... [Read more...]

Installing R on OS X

October 20, 2015 | hrbrmstr

I was in a conversation with an academic colleague (wicked smart dude) and the subject of installing R came up (NOTE: this will happen to you, too, if you ever have the misfortune to have a face-to-face convo with me ;-). They noted that getting up and running with R ...
[Read more...]

Replicating NatGeo’s “Proper” Earthquake Map in R

October 4, 2015 | hrbrmstr

I saw this post over at NatGeo over the weekend and felt compelled to replicate this: with ggplot2. Three shapefiles later and we have it close enough to toss into a post (and I really don’t believe the continent names are necessary). library(rgdal) library(ggplot2) library(ggthemes)   # grab ...
[Read more...]

A Better Way To Read Nest Data Into R

September 10, 2015 | hrbrmstr

I glimpsed a post in the RSS feeds today on how to connect Nest data with a Shiny dashboard and was compelled to post a less brute-force way to get data from the Nest API. The authors of the Shiny+Nest post used system calls to curl and regular expression ... [Read more...]

Three New #rstats Twitter Bots To Follow

September 6, 2015 | hrbrmstr

I engage with the Stack[Overflow|Exchange] community quite a bit and was super-happy @treycausey made the Stack Overflow #rstats bot (@StackOverflowR) since I’m also on Twitter alot (mostly hanging out in #rstats these days). However, #rstats questions exist in other Stack watering holes, like the Geographic Information Systems ... [Read more...]

Coloring (and Drawing) Outside the Lines in ggplot

August 27, 2015 | hrbrmstr

Time for another Twitter-inspired blog post this week, this time from a tweet by @JonKalodimos: Is there a way to do this in #rstats #ggplot2 https://t.co/kxWQFlYpbB— Jonathan Kalodimos (@JonKalodimos) August 27, 2015 I had seen and appreciated Ann’s post on her makeover of the main graphic in NPR’...
[Read more...]

Using R To Get Data *Out Of* Word Docs

August 23, 2015 | hrbrmstr

This was asked on twitter recently: Is it possible to import data entered in MS Word into R – I have multiple tables in 235 files that need importing #rstats— Richard Telford (@richardjtelford) August 23, 2015 The answer is a very cautious “yes”. Much depends on how well-formed and un-formatted the table is. Take ...
[Read more...]

Doh! I Could Have Had Just Used V8!

August 21, 2015 | hrbrmstr

An R user recently had the need to split a “full, human name” into component parts to retrieve first & last names. The full names could be anything from something simple like “David Regan” to more complex & diverse such as “John Smith Jr.”, “Izaque Iuzuru Nagata” or “Christian Schmit de la ... [Read more...]

cdcfluview – On The Way to “CRAN 7K”

August 9, 2015 | hrbrmstr

I like to turn coincidence into convergence whenever possible. This weekend, a user of cdcfluview had a question that caused me to notice a difference in behaviour between the package was interacting with CDC FluView API, so I updated the package to accommodate the change and the user. Around the ... [Read more...]

Adding a CRAN Search Engine to Chrome

August 7, 2015 | hrbrmstr

Riffing off of the previous post, here’s a way to quickly search CRAN (the @RStudio flavor) from the Chrome search bar. Paste chrome://settings/searchEngines into your location bar and hit return/enter Scroll down until the input boxes show, enabling you to add a search engine For “Add ... [Read more...]

Speeding Up Your Quest(s) For “R Stuff”

August 5, 2015 | hrbrmstr

I use Google quite a bit when conjuring up R projects, whether it be in a lazy pursuit of a PDF vignette or to find a package or function to fit a niche need. Inevitably, I’ll do something like this (yeah, I’m still on a mapping kick) and ...
[Read more...]
1 16 17 18 19 20 23

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)