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

Graphical perception – learn the fundamentals first

Before you dive into the advanced stuff – like just about everything in your life – you have to learn the fundamentals before you know when you can break the rules.

Pizza Place Geography

Most of the major pizza chains are within a 5-mile …

Top Brewery Road Trip, Routed Algorithmically

There are a lot of great craft breweries in the United States, but there is only so much time. This is the computed best way to get to the top rated breweries and how to maximize the beer tasting experience. Every journey begins with a single sip.

Reviving the Statistical Atlas of the United States with New Data

Due to budget cuts, there is no plan for an updated atlas. So I recreated the original 1870 Atlas using today’s publicly available data.