From 43b04b7ecb313a2cee6121dd575de1f7dc785c11 Mon Sep 17 00:00:00 2001 From: Kai Jiang Date: Wed, 22 Jun 2016 12:50:36 -0700 Subject: [SPARK-15672][R][DOC] R programming guide update ## What changes were proposed in this pull request? Guide for - UDFs with dapply, dapplyCollect - spark.lapply for running parallel R functions ## How was this patch tested? build locally screen shot 2016-06-14 at 03 12 56 Author: Kai Jiang Closes #13660 from vectorijk/spark-15672-R-guide-update. --- R/pkg/R/context.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'R') diff --git a/R/pkg/R/context.R b/R/pkg/R/context.R index 96ef9438ad..dd0ceaeb08 100644 --- a/R/pkg/R/context.R +++ b/R/pkg/R/context.R @@ -246,7 +246,7 @@ setCheckpointDir <- function(sc, dirName) { #' \preformatted{ #' train <- function(hyperparam) { #' library(MASS) -#' lm.ridge(“y ~ x+z”, data, lambda=hyperparam) +#' lm.ridge("y ~ x+z", data, lambda=hyperparam) #' model #' } #' } -- cgit v1.2.3