Github user felixcheung commented on a diff in the pull request: https://github.com/apache/spark/pull/16264#discussion_r92112001 --- Diff: R/pkg/vignettes/sparkr-vignettes.Rmd --- @@ -539,7 +539,7 @@ In the following example, we use the `longley` dataset to train a random forest ```{r} df <- createDataFrame(longley) -rfModel <- spark.randomForest(df, Employed ~ ., type = "regression", numTrees = 5) +rfModel <- spark.randomForest(df, Employed ~ ., type = "regression", maxDepth = 2, numTrees = 2) --- End diff -- you could also do this to limit output ```{r, include=FALSE} ops <- options() options(max.print=40) ``` there is another example in the vignettes
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org