Skip to content

[R-Forge #5366] setkey fails in 1.9.2 when a non-key column is type list #54

Closed

Description

@arunsrinivasan

Submitted by: James Sams; Assigned to: Arun ; R-Forge link

System: R 3.0.1 on Ubuntu 13.10; Xeon x64; data.table 1.8.11

I am occasionally getting an error when setting keys or doing operations that requires resetting the key on some data.tables. I haven't been able to produce an artificial test case for you to run. The keys I specify are both integers. The error message is:

# Error in setkeyv(copy(x), by) : Item 5 of list is not a vector". 

I get this when using merge( , , by=c('key', 'names')), setkey(..), and setkeyv(..).

Not all tables produce this error message, but once a table starts producing it; it seem to consistently fail.

I do not see this problem in 1.8.10.

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