-
Notifications
You must be signed in to change notification settings - Fork 993
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
Support for grouping/ordering/computing on columns of type complex #1444
Labels
Milestone
Comments
arunsrinivasan
changed the title
Complex numbers not supported
Support for grouping/ordering/computing on columns of type complex
Nov 26, 2015
Merge this with #602? |
This issue is more detailed.. will close the other one. |
Came across this again in working on #3639. Strange that you can't order any table with complex values, considering
|
MichaelChirico
pushed a commit
that referenced
this issue
Jul 10, 2019
This was referenced Jul 10, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
The only question or information I can find on this is one I asked myself on stack overflow (http://stackoverflow.com/questions/32570742/r-data-table-package-and-complex-values) but it wasn't ever resolved.
The data.table package does not appear to support complex numbers, even though there was a specific bug fix addressing the problem, issue #982. I have updated to the latest development version, 1.9.7.
Now, I can have a data table which contains complex numbers, but nothing can then be done to it. For example:
This works, the data.table exists. However, if I try and use the setkey command:
Or, if I try and run a function (any function as far as I can tell, I first discovered this trying to use dcast) on a subset of the data:
Being as issue #982 was specific to allowing complex numbers to work, I feel as though this is a bug, not a feature request.
Thanks.
The text was updated successfully, but these errors were encountered: