Skip to content

Commit

Permalink
[SPARK-10118] [SPARKR] [DOCS] Improve SparkR API docs for 1.5 release
Browse files Browse the repository at this point in the history
cc: shivaram

## Summary

- Modify `tdname` of expression functions. i.e. `ascii`: `rdname functions` => `rdname ascii`
- Replace the dynamical function definitions to the static ones because of thir documentations.

## Generated PDF File
https://drive.google.com/file/d/0B9biIZIU47lLX2t6ZjRoRnBTSEU/view?usp=sharing

## JIRA
[[SPARK-10118] Improve SparkR API docs for 1.5 release - ASF JIRA](https://issues.apache.org/jira/browse/SPARK-10118)

Author: Yu ISHIKAWA <[email protected]>
Author: Yuu ISHIKAWA <[email protected]>

Closes #8386 from yu-iskw/SPARK-10118.

(cherry picked from commit 6511bf5)
Signed-off-by: Shivaram Venkataraman <[email protected]>
  • Loading branch information
yu-iskw authored and shivaram committed Aug 25, 2015
1 parent 228e429 commit ec5d09c
Show file tree
Hide file tree
Showing 4 changed files with 1,596 additions and 228 deletions.
2 changes: 1 addition & 1 deletion R/create-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pushd $FWDIR
mkdir -p pkg/html
pushd pkg/html

Rscript -e 'library(SparkR, lib.loc="../../lib"); library(knitr); knit_rd("SparkR")'
Rscript -e 'libDir <- "../../lib"; library(SparkR, lib.loc=libDir); library(knitr); knit_rd("SparkR", links = tools::findHTMLlinks(paste(libDir, "SparkR", sep="/")))'

popd

Expand Down
5 changes: 2 additions & 3 deletions R/pkg/R/column.R
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,7 @@ setMethod("between", signature(x = "Column"),
#'
#' @rdname column
#'
#' @examples
#' \dontrun{
#' @examples \dontrun{
#' cast(df$age, "string")
#' cast(df$name, list(type="array", elementType="byte", containsNull = TRUE))
#' }
Expand All @@ -192,7 +191,7 @@ setMethod("cast",
#'
#' @rdname column
#' @return a matched values as a result of comparing with given values.
#' \dontrun{
#' @examples \dontrun{
#' filter(df, "age in (10, 30)")
#' where(df, df$age %in% c(10, 30))
#' }
Expand Down
Loading

0 comments on commit ec5d09c

Please sign in to comment.