-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Error in unique.default(x, nmax = nmax): unique() applies only to vectors #5392
Comments
IIUC this is a request for is.formula(f) to work with data.table's split method |
Yeah! Is it possible to support formula syntax in data.table? |
@XiangyunHuang totally possible but not sure if wanted. Will work on a PR. (1-liner if we take over the eval from |
at the very least we should fail more gracefully. but I don't see any problem with supporting this either for parity with data.frame. |
No wonder I had never heard of this before -- it's a very new base R feature! |
Hi, did you work it out? I also met this problem when using R |
Try out linked PR and tell us if it works for you. |
Created on 2022-05-24 by the reprex package (v2.0.1)
The text was updated successfully, but these errors were encountered: