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

Unemployment in America, Mapped Over Time

Watch the regional changes across the country from 1990 to 2016.

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.

Where Bars Outnumber Grocery Stores

A closer look at the age old question of where there are more bars than grocery stores, and vice versa.

Real Chart Rules to Follow

There are rules—usually for specific chart types meant to be read in a specific way—that you shouldn’t break. When they are, everyone loses. This is that small handful.