Skip to content

Commit

Permalink
Updated code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
falaki committed Oct 11, 2016
1 parent 62ab47b commit 836e874
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/pkg/R/context.R
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ objectFile <- function(sc, path, minPartitions = NULL) {
#' in the list are split into \code{numSlices} slices and distributed to nodes
#' in the cluster.
#'
#' If size of serialized slices is larger than 2GB (or INT_MAX bytes), the function
#' will write it to disk and send the file name to JVM.
#' If size of serialized slices is larger than spark.r.maxAllocationLimit or (200MB), the function
#' will write it to disk and send the file name to JVM. Also to make sure each slice is not
#' larger than that limit, number of slices may be increased.
#'
#' @param sc SparkContext to use
#' @param coll collection to parallelize
Expand Down

0 comments on commit 836e874

Please sign in to comment.