Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add export.
  • Loading branch information
yanboliang committed Sep 21, 2016
commit 9ed3c68d752914100a86d04a420ad839a7ed992c
3 changes: 3 additions & 0 deletions R/pkg/R/context.R
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ setCheckpointDir <- function(sc, dirName) {
#'
#' @rdname spark.addFile
#' @param path The path of the file to be added
#' @export
#' @examples
#'\dontrun{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add @export

#' spark.addFile("~/myfile")
Expand All @@ -247,6 +248,7 @@ spark.addFile <- function(path) {
#'
#' @rdname spark.getSparkFilesRootDirectory
#' @return the root directory that contains files added through spark.addFile
#' @export
#' @examples
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add @export

#'\dontrun{
#' spark.getSparkFilesRootDirectory()
Expand All @@ -261,6 +263,7 @@ spark.getSparkFilesRootDirectory <- function() {
#' @rdname spark.getSparkFiles
#' @param fileName The name of the file added through spark.addFile
#' @return the absolute path of a file added through spark.addFile.
#' @export
#' @examples
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add @export

#'\dontrun{
#' spark.getSparkFiles("myfile")
Expand Down