Skip to content
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

group_by crashes R #276

Closed
skaae opened this issue Feb 21, 2014 · 2 comments
Closed

group_by crashes R #276

skaae opened this issue Feb 21, 2014 · 2 comments

Comments

@skaae
Copy link

skaae commented Feb 21, 2014

The following code crashes R:

require(dplyr)
df <- data.frame(x = 1:3)
df$y <- list(1:2, 1:3, 1:4)
group_by(df,y)
R version 3.0.2 (2013-09-25)
Platform: x86_64-apple-darwin10.8.0 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] dplyr_0.1.2

loaded via a namespace (and not attached):
[1] assertthat_0.1 Rcpp_0.11.0    tools_3.0.2   
@romainfrancois
Copy link
Member

That's a stretch. @hadley this goes through the white list now, but a simple list as this is ok, perhaps it should not be. In any case, I would not how how to hash this.

@hadley
Copy link
Member

hadley commented Feb 21, 2014

Hmm, I think this should be blacklisted for now (for grouping, and I guess sorting).

@lock lock bot locked as resolved and limited conversation to collaborators Jun 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants