Skip to content
Snippets Groups Projects
Commit 8fb775ba authored by Yanbo Liang's avatar Yanbo Liang Committed by Shivaram Venkataraman
Browse files

[SPARK-11755][R] SparkR should export "predict"

The bug described at [SPARK-11755](https://issues.apache.org/jira/browse/SPARK-11755), after exporting ```predict``` we can both get the help information from the SparkR and base R package like the following:
```Java
> help(predict)
Help on topic ‘predict’ was found in the following packages:

  Package               Library
  SparkR                /Users/yanboliang/data/trunk2/spark/R/lib
  stats                 /Library/Frameworks/R.framework/Versions/3.2/Resources/library

Choose one

1: Make predictions from a model {SparkR}
2: Model Predictions {stats}
```

Author: Yanbo Liang <ybliang8@gmail.com>

Closes #9732 from yanboliang/spark-11755.
parent 91f4b6f2
No related branches found
No related tags found
No related merge requests found
...@@ -1054,6 +1054,10 @@ setGeneric("year", function(x) { standardGeneric("year") }) ...@@ -1054,6 +1054,10 @@ setGeneric("year", function(x) { standardGeneric("year") })
#' @export #' @export
setGeneric("glm") setGeneric("glm")
#' @rdname predict
#' @export
setGeneric("predict", function(object, ...) { standardGeneric("predict") })
#' @rdname rbind #' @rdname rbind
#' @export #' @export
setGeneric("rbind", signature = "...") setGeneric("rbind", signature = "...")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment