Skip to content

table retain's SD's locked attribute outside [ #2245

Closed

Description

@grayskripko
x <- data.table(a = rnorm(3), b = rnorm(3))
x <- x[, round(.SD, 1)]
x[, c := 8] 
# Error in `[.data.table`(x, , `:=`(c, 8)) :
# .SD is locked. Using := in .SD's j is reserved for possible future use; ...

Activity

  1. changed the title [-]Is it a ".SD is locked" bug?[/-] [+]Is it a bug?[/+] on Jul 5, 2017
  2. changed the title [-]Is it a bug?[/-] [+]table retain's SD's locked attribute outside [[/+] on Aug 18, 2019
  3. added a commit that references this issue on Aug 18, 2019
    9d4e929
  4. added this to the 1.12.4 milestone on Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions