Skip to content

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

Closed

Description

@richierocks

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions