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

dplyr problem when using comment() #346

Closed
jdlng opened this issue Mar 21, 2014 · 0 comments
Closed

dplyr problem when using comment() #346

jdlng opened this issue Mar 21, 2014 · 0 comments
Assignees
Milestone

Comments

@jdlng
Copy link

jdlng commented Mar 21, 2014

dplyr seems to have a problem when I use comment() to describe my variables:

test <- data.frame(A = c(1,1,0,0), B = c(2,2,3,3))
summarise(group_by(test, A), mean(B))
Source: local data frame [2 x 2]

A mean(B)
1 0 3
2 1 2

comment(test$B) <- "2nd Var"
summarise(group_by(test, A), mean(B))

Error: column 'B' has unsupported type

@romainfrancois romainfrancois added this to the v0.2 milestone Mar 25, 2014
@romainfrancois romainfrancois self-assigned this Mar 25, 2014
@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

2 participants