Skip to content

[R-Forge #1984] Functional Queries #641

Description

@arunsrinivasan

Submitted by: Yike Lu; Assigned to: Nobody; R-Forge link

Add a function, perhaps dtquery=function(DT, ...) DT[...]

I just checked, and this syntax indeed works (it was a very easy function program). This would allow higher order abstractions as part of the standard implementation.

Activity

  1. jangorecki commented on Jul 20, 2015

    @jangorecki
    Member

    It could be simply done by

    dtquery = data.table:::`[.data.table`
  2. added this to the 1.12.4 milestone on Jan 29, 2019
  3. modified the milestones: 1.12.4, 1.13.0 on Jul 25, 2019
  4. MichaelChirico commented on Aug 19, 2019

    @MichaelChirico
    Member

    I'm not sure there's any demand for this?

    Seems most suited to %>% chains, so perhaps it could be added in dtplyr instead?

  5. jangorecki commented on Nov 1, 2019

    @jangorecki
    Member

    something related just spotted in the wild: https://stackoverflow.com/a/58652478/2490497

  6. modified the milestones: 1.12.7, 1.12.9 on Dec 8, 2019
  7. modified the milestones: 1.13.1, 1.13.3 on Oct 17, 2020
  8. dcaseykc commented on Nov 2, 2020

    @dcaseykc

    Having an exported version of [.data.table (via dtquery) would be helpful for attempts to extend data.table without running afoul of warnings about using ::: in packages.

  9. self-assigned this
    on Nov 3, 2020
  10. avimallu commented on May 11, 2021

    @avimallu
    Contributor

    @jangorecki, this will be closed with #4304, or is it completely different? This SO examples linked seem to point to it serving the same purpose.

  11. jangorecki commented on May 11, 2021

    @jangorecki
    Member

    not really

  12. MichaelChirico commented on May 20, 2021

    @MichaelChirico
    Member

    IINM this is duplicate of #4872 which now has much more traffic; closing this one

  13. modified the milestones: 1.14.9, 1.15.0 on Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions