April 2016

Clandestine DNS lookups with gdns

April 10, 2016 | hrbrmstr

Google recently announced their DNS-over-HTTPS API, which “enhances privacy and security between a client and a recursive resolver, and complements DNSSEC to provide end-to-end authenticated DNS lookups”. The REST API they provided was pretty simple to wrap into a package and I tossed in some SPF functions that I had ...
[Read more...]

Le Monde puzzle [#958]

April 10, 2016 | xi'an

A knapsack Le Monde mathematical puzzle: Given n packages weighting each at most 5.8kg for a total weight of 300kg, is it always possible to allocate these packages  to 12 separate boxes weighting at most 30kg each? weighting at most 29kg each? This can be checked by brute force using the ...
[Read more...]

52vis Week 2 Challenge

April 10, 2016 | Jonathan Carroll

From Bob Rudis' blog comes a weekly data/coding challenge. I didn't quite get the time to tackle last week's but I thought this one offered up a pretty good opportunity. Half the challenge is of course data processing/tidying, which is...Continue Reading →
[Read more...]

Free data science video lecture: debugging in R

April 9, 2016 | John Mount

We are pleased to release a new free data science video lecture: Debugging R code using R, RStudio and wrapper functions. In this 8 minute video we demonstrate the incredible power of R using wrapper functions to catch errors for later reproduction and debugging. If you haven’t tried these techniques ... [Read more...]

Pretty Data Class Conversion

April 8, 2016 | Andrew Worsley

Load data – check structure – convert – analyse. Data class conversion is essential to gaining the right result… especially if you have left stringsAsFactors = TRUE. The worst thing you can do is feed factor data into a function when you expected it to be characters. If system memory is not a concern, ... [Read more...]

Safe Loading of RData Files

April 8, 2016 | TeachR

Unless you have configured R not to ask, every time you close R or RStudio you are prompted to save your workspace. This saves an RData file to the working directory. The functions save.image() and save() offer a little more flexibility, but basically do the same thing: they save ... [Read more...]

Safe Loading of RData Files

April 8, 2016 | adamleerich

Unless you have configured R not to ask, every time you close R or RStudio you are prompted to save your workspace. This saves an RData file to the working directory. The functions save.image() and save() offer a little more … Continue reading → [Read more...]

R Markdown & Bloggin’: Part 1 – Inserting Code

April 8, 2016 | Equastat

Reino Bruner April 8, 2016 As a data scientist, I find the vast majority of the useful content I produce just gets stored into a rainy day folder until I have further need for it. I think it would be more beneficial if I brought some of the functions, processes, and knowledge ...
[Read more...]

Mapping Twitter Followers in R

April 8, 2016 | lucaspuente.github.io

My colleague Jon Lieber and I recently released a new report that analyzes how digital marketplaces that connect workers to consumers demanding their services (e.g. Uber, Thumbtack, Upwork, etc.) are affecting the American labor market. As part of this report, we looked at where these digital marketplaces are most ... [Read more...]

geom_lollipop() by the Chartettes

April 8, 2016 | hrbrmstr

I make a fair share of bar charts throughout the day and really like switching to lollipop charts to mix things up a bit and enhance the visual appeal. They’re easy to do in ggplot2, just use your traditional x & y mapping for geom_point() and then use (you ...
[Read more...]

The new and improved pirateplot()! Now with themes!

April 8, 2016 | ndphillips

Hello fellow R pirates! For those of you who didn’t see it, I recently wrote a post demonstrating the pirateplot() function in the yarrr package. The pirateplot() function replaces the deceptive (and boring) bar plot with a full RDI plot, capable of plotting Raw data (and smoothed densities), Descriptive ... [Read more...]

Who Came to Vote in Utah’s Caucuses?

April 8, 2016 | Julia Silge

Late last month, I analyzed results from Utah’s Republican and Democratic caucuses to show how the different presidential candidates fared across Utah. That was fun work to do, but I realized there was one more map I wanted to make; I want to compare the Republican and Democratic voter ... [Read more...]

In case you missed it: March 2016 roundup

April 8, 2016 | David Smith

In case you missed them, here are some articles from February of particular interest to R users. Reviews of new CRAN packages RtutoR, lavaan.shiny, dCovTS, glmmsr, GLMMRR, MultivariateRandomForest, genie, kmlShape, deepboost and rEDM. You can now create and host Jupyter notebooks based on R, for free, in Azure ML ... [Read more...]
1 7 8 9 10 11 13

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)