aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorKai Jiang <jiangkai@gmail.com>2016-06-22 12:50:36 -0700
committerJoseph K. Bradley <joseph@databricks.com>2016-06-22 12:50:36 -0700
commit43b04b7ecb313a2cee6121dd575de1f7dc785c11 (patch)
tree80a1ea03e546148d5b910a426564fc61b7c3b2e1 /R
parent6f915c9ec24003877d1ef675a59145699780a2ff (diff)
downloadspark-43b04b7ecb313a2cee6121dd575de1f7dc785c11.tar.gz
spark-43b04b7ecb313a2cee6121dd575de1f7dc785c11.tar.bz2
spark-43b04b7ecb313a2cee6121dd575de1f7dc785c11.zip
[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 <img width="654" alt="screen shot 2016-06-14 at 03 12 56" src="https://cloud.githubusercontent.com/assets/3419881/16039344/12a3b6a0-31de-11e6-8d77-fe23308075c0.png"> Author: Kai Jiang <jiangkai@gmail.com> Closes #13660 from vectorijk/spark-15672-R-guide-update.
Diffstat (limited to 'R')
-rw-r--r--R/pkg/R/context.R2
1 files changed, 1 insertions, 1 deletions
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
#' }
#' }