Biochar Environment

Install Java and rJava

Install Java and a few other useful dependencies.

apt-get -qq update
apt-get install openjdk-8-jdk \
libxext6 libxrender1 rlwrap
apt-get clean
rm -r /var/lib/apt/lists/* # Clear package list so it isn't stale
  R CMD javareconf
#java -version
update-alternatives --display java
#remove.packages("rJava")
devtools::install_version("rJava","0.9-10")

Install Future and Highcharter

options(nextjournal.display.htmlwidgetsEnabled=TRUE)
if (! "future" %in% installed.packages()[,1]) install.packages("future")
if (! "highcharter" %in% installed.packages()[,1]) install.packages("highcharter")


packageStartupMessage({
 library(future)
 library(shiny)
})