aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorFelix Cheung <felixcheung_m@hotmail.com>2016-07-25 11:25:41 -0700
committerShivaram Venkataraman <shivaram@cs.berkeley.edu>2016-07-25 11:25:41 -0700
commitb73defdd790cb823a4f9958ca89cec06fd198051 (patch)
tree32ed95b25df49c04278cb86d9ccafaee2e3fabd4 /R
parent7ea6d282b925819ddb3874a67b3c9da8cc41f131 (diff)
downloadspark-b73defdd790cb823a4f9958ca89cec06fd198051.tar.gz
spark-b73defdd790cb823a4f9958ca89cec06fd198051.tar.bz2
spark-b73defdd790cb823a4f9958ca89cec06fd198051.zip
[SPARKR][DOCS] fix broken url in doc
## What changes were proposed in this pull request? Fix broken url, also, sparkR.session.stop doc page should have it in the header, instead of saying "sparkR.stop" ![image](https://cloud.githubusercontent.com/assets/8969467/17080129/26d41308-50d9-11e6-8967-79d6c920313f.png) Data type section is in the middle of a list of gapply/gapplyCollect subsections: ![image](https://cloud.githubusercontent.com/assets/8969467/17080122/f992d00a-50d8-11e6-8f2c-fd5786213920.png) ## How was this patch tested? manual test Author: Felix Cheung <felixcheung_m@hotmail.com> Closes #14329 from felixcheung/rdoclinkfix.
Diffstat (limited to 'R')
-rw-r--r--R/pkg/R/DataFrame.R2
-rw-r--r--R/pkg/R/sparkR.R16
2 files changed, 9 insertions, 9 deletions
diff --git a/R/pkg/R/DataFrame.R b/R/pkg/R/DataFrame.R
index 2e99aa026d..a4733313ed 100644
--- a/R/pkg/R/DataFrame.R
+++ b/R/pkg/R/DataFrame.R
@@ -35,7 +35,7 @@ setOldClass("structType")
#' @slot env An R environment that stores bookkeeping states of the SparkDataFrame
#' @slot sdf A Java object reference to the backing Scala DataFrame
#' @seealso \link{createDataFrame}, \link{read.json}, \link{table}
-#' @seealso \url{https://spark.apache.org/docs/latest/sparkr.html#sparkdataframe}
+#' @seealso \url{https://spark.apache.org/docs/latest/sparkr.html#sparkr-dataframes}
#' @export
#' @examples
#'\dontrun{
diff --git a/R/pkg/R/sparkR.R b/R/pkg/R/sparkR.R
index ff5297ffd5..524f7c4a26 100644
--- a/R/pkg/R/sparkR.R
+++ b/R/pkg/R/sparkR.R
@@ -28,14 +28,6 @@ connExists <- function(env) {
})
}
-#' @rdname sparkR.session.stop
-#' @name sparkR.stop
-#' @export
-#' @note sparkR.stop since 1.4.0
-sparkR.stop <- function() {
- sparkR.session.stop()
-}
-
#' Stop the Spark Session and Spark Context
#'
#' Stop the Spark Session and Spark Context.
@@ -90,6 +82,14 @@ sparkR.session.stop <- function() {
clearJobjs()
}
+#' @rdname sparkR.session.stop
+#' @name sparkR.stop
+#' @export
+#' @note sparkR.stop since 1.4.0
+sparkR.stop <- function() {
+ sparkR.session.stop()
+}
+
#' (Deprecated) Initialize a new Spark Context
#'
#' This function initializes a new SparkContext.