Github user adrian555 commented on a diff in the pull request:
https://github.com/apache/spark/pull/9835#discussion_r45413967
--- Diff: R/pkg/R/utils.R ---
@@ -624,15 +624,22 @@ convertNamedListToEnv <- function(namedList) {
env
}
-# Assign a new environment for attach() and with() methods
-assignNewEnv <- function(data) {
- stopifnot(class(data) == "DataFrame")
- cols <- columns(data)
- stopifnot(length(cols) > 0)
-
+# Put each column of a DataFrame into a new environment
+# putAsDataFrame:
--- End diff --
I'd suggest use 'drop' as the argument name instead since that is more
R-like.
---
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]