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

melt fails when pattern not found #3106

Closed
MichaelChirico opened this issue Oct 12, 2018 · 0 comments
Closed

melt fails when pattern not found #3106

MichaelChirico opened this issue Oct 12, 2018 · 0 comments
Labels
Milestone

Comments

@MichaelChirico
Copy link
Member

DT = data.table(id = 1:3, a1 = rnorm(10), a2 = rnorm(10))
melt(DT, id.vars = 'id', measure.vars = patterns(a = 'a', b = 'b'))

Error in melt.data.table(DT, id.vars = "id", measure.vars = patterns(a = "a", :
Unsupported type 'NULL'

Quite a confusing error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants