Skip to content

Commit

Permalink
Use read.json() instead of jsonFile() in function description of drop().
Browse files Browse the repository at this point in the history
  • Loading branch information
Sun Rui committed Jan 20, 2016
1 parent 9ebae59 commit 89657f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/pkg/R/DataFrame.R
Original file line number Diff line number Diff line change
Expand Up @@ -2413,7 +2413,7 @@ setMethod("str",
#' sc <- sparkR.init()
#' sqlCtx <- sparkRSQL.init(sc)
#' path <- "path/to/file.json"
#' df <- jsonFile(sqlCtx, path)
#' df <- read.json(sqlCtx, path)
#' drop(df, "col1")
#' drop(df, c("col1", "col2"))
#' drop(df, df$col1)
Expand Down

0 comments on commit 89657f8

Please sign in to comment.