This illustration of the miner R package (https://github.com/ROpenSciLabs/miner) shows
(a) executing R code from within Minecraft, and
(b) making a ggplot-style plot (though admittedly with base R syntax).
On this page of the site you can watch the video online ggplot2 in MineCraft with a duration of hours minute second in good quality, which was uploaded by the user Karl Broman 26 May 2017, share the link with friends and acquaintances, this video has already been watched 84 times on youtube and it was liked by 3 viewers. Enjoy your viewing!