GLM example with Spark and R on the HDInsight cluster