Github user felixcheung commented on a diff in the pull request:

    https://github.com/apache/spark/pull/13760#discussion_r68540924
  
    --- Diff: R/pkg/R/DataFrame.R ---
    @@ -1370,14 +1370,22 @@ setMethod("dapplyCollect",
     #' columns with data types integer and string and the mean which is a 
double.
     #' schema <-  structType(structField("a", "integer"), structField("c", 
"string"),
     #'   structField("avg", "double"))
    -#' df1 <- gapply(
    +#' result <- gapply(
    --- End diff --
    
    if what is returned is a DataFrame it might help to keep it a variant of 
"df"
    in fact, you might want to add `@return` to document to return value and 
type


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to