I have tried the following code which I took from (https://github.com/rstudio/sparkxgb). I just changed the deployment mode: instead of a "local" co
"local"