R programming with Minecraft

Posted to Coding  |  Tags: ,  |  Nathan Yau

The new R package miner is an interface to Minecraft via some simple R commands.

The miner package provides just a few simple functions to manipulate the game world: find or move a player’s position; add or remove blocks in the world; send a message to all players in the world. The functions are deliberately simple, designed to be used to build more complex tasks.

I’m thinking walkable data worlds in Minecraft.

I bought Minecraft for my three-year-old, but he didn’t understand the point when his LEGO bricks were within arm’s reach and there weren’t any funny noises or songs. Maybe the purchase wasn’t a total bust after all.

Here’s the full miner package guide.

Favorites

The Most Unisex Names in US History

Moving on from the most trendy names in US history, …

Jobs Charted by State and Salary

Jobs and pay can vary a lot depending on where you live, based on 2013 data from the Bureau of Labor Statistics. Here’s an interactive to look.

Think Like a Statistician – Without the Math

I call myself a statistician, because, well, I’m a statistics graduate student. However, the most important things I’ve learned are less formal, but have proven extremely useful when working/playing with data.

Watching the growth of Walmart – now with 100% more Sam’s Club

The ever so popular Walmart growth map gets an update, and yes, it still looks like a wildfire. Sam’s Club follows soon after, although not nearly as vigorously.