When supplied with the path to an h2o
mojo (.zip
) file, splash
builds an interactive document (.Rmd
file), provides an
h2o-genmodel.jar
file, and launches the interactive document using
rmarkdown::render()
.
You can install the development version of splash
from GitHub with:
remotes::install_github('ML4LHS/splash')
library(splash)
temp_dir = file.path(tempdir(), 'splash_test')
dir.create(temp_dir)
file.copy(from = system.file('extdata/prostate_model.zip', package = 'splash'),
to = file.path(temp_dir, 'prostate_model.zip'))
splash(file.path(temp_dir, 'prostate_model.zip'), overwrite = TRUE)