-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implementation of group_modify() for multidplyr_party_df #102
Comments
It's not currently on the roadmap because I don't think |
@hadley, I disagree. goup_modify is still needed because the following is working with group_modify but not working with summarise no matter whether the tilde ~ is included or not:
|
@rxhu, it works for me without the tilde (the first one that is), if you also remove library(dplyr)
iris %>% group_by(Species) %>% summarize(broom::tidy(lm(Petal.Length ~ Sepal.Length))) ... of course, the warning you get is not exactly encouraging:
library(dplyr)
iris %>% reframe(.by = Species, broom::tidy(lm(Petal.Length ~ Sepal.Length))) Getting back to the issue at hand, so to speak. Out of the library(dplyr)
library(multidplyr)
cluster <- new_cluster(2)
iris %>% group_by(Species) %>% partition(cluster) %>% summarize(broom::tidy(lm(Petal.Length ~ Sepal.Length))) The other two approaches give off an error message like
As far as the latter is concerned, I took the liberty to open #143 afresh. |
In a previous comment for issue #51, plans for implementation of group_modify() and group_map() were mentioned. However, the current version 0.0.0.9 does not appear to have it implemented.
(If this is an inappropriate venue to discuss planned feature development, please close this issue, though I would be interested to know where in the roadmap group_modify falls).
Reprex:
The text was updated successfully, but these errors were encountered: