Skip to content

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

@grayskripko

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; ...

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