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

[.data.table fails with complex/raw columns #982

Closed
richierocks opened this issue Dec 10, 2014 · 0 comments
Closed

[.data.table fails with complex/raw columns #982

richierocks opened this issue Dec 10, 2014 · 0 comments
Assignees
Labels
Milestone

Comments

@richierocks
Copy link

To reproduce, try:

DT <- data.table(x = as.complex(1:5))
DT[1]
## Error in `[.data.table`(DT, 1) : Unknown column type 'complex'

Similarly:

DT <- data.table(x = as.raw(1:5))
DT[1]
## Error in `[.data.table`(DT, 1) : Unknown column type 'raw'

The problem appears to be originating from the line:

ans[[target]] = .Call(CsubsetVector,x[[source]],irows)

Loosely related issue: #602

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

2 participants