Discord Chat Latest Version Downloads per Month Total Downloads

Overview

rbedrock is an extension package for R that supports the analysis and management of Minecraft (Bedrock Edition) worlds. This includes Windows 10, Pocket Edition, XBox, and PS4 versions of the game. It does not include Minecraft: Java worlds.

If you are not already using R, you will need to install the latest R and optionally RStudio.

Installation

# The easiest way to install rbedrock is from CRAN.
# If this doesn't work, you will need to install the development version (see below).
install.packages("rbedrock")

# Install tidyverse (not needed, but useful)
if(!require(tidyverse)) {
    install.packages("tidyverse")
}

If you are not on Windows or Mac, this will install rbedrock from source, and you will need to have suitable development tools installed on your machine. This includes CMake.

Development Version

To get a bug fix or to use a feature from the development version, you can install the development version of rbedrock from GitHub.

if (!require(devtools)) {
    install.packages("devtools")
}
devtools::install_github("reedacartwright/rbedrock")

To install the development version you will need to have suitable development tools installed on your machine. This includes CMake on Unix.

Development Version (Windows)

# Install the "installr" package if neccessary
if(!require(installr)) {
    install.packages("installr")
}
# download, install, and setup rtools
installr::install.Rtools()
writeLines('PATH="${RTOOLS40_HOME}\\usr\\bin;${PATH}"', con = "~/.Renviron")

If you do not have CMake installed, you can install it via installr.

installr::install.CMake()

Now restart R/RStudio so the new .Renviron can take effect.

# install development version of rbedrock
if (!require(devtools)) {
    install.packages("devtools")
}
devtools::install_github("reedacartwright/rbedrock")

Installation Tutorial Videos

Installing R and RStudio

Installing RBedrock