Skip to content

[R-Forge #5248] implement "set" (as in setdiff, union etc..) operations for data.tables for convenience #547

@arunsrinivasan

Description

@arunsrinivasan

Submitted by: Arun ; Assigned to: Nobody; R-Forge link

data.table has already a very efficient way for getting unique and duplicated. It takes 0.5 seconds where base's unique takes 8 seconds for example - check this benchmark on rpub.

Similarly, why not use the internal engine to generate set operations on data.table?

  • setdiff
  • union
  • intersect
  • setequal

Condition: Number of columns and column classes should match.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions