Github user sun-rui commented on the pull request:

    https://github.com/apache/spark/pull/11811#issuecomment-199077749
  
    R's signature is
    ```
    as.data.frame(x, row.names = NULL, optional = FALSE, ...)
    ```
    But current implementation does not support the parameters like row.names, 
optional:
    ```
                if (length(list(...)) > 0) {
                  stop(paste("Unused argument(s): ", paste(list(...), collapse 
= ", ")))
                }
    ```
    
    This PR enhance the implementation so that the additional parameters can be 
honored.  This should match R users's usage more.
    
    Also in this PR the as.data.frame versions in the R base package can also 
be expose and used.


---
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