http://spark.rstudio.com/bsierieb/ninja/