trying to get working on spark.rstudio