Skip to content

Not printed out this data.table when I not wanted #869

Description

@JBreidaks
library(data.table) #version 1.9.4
estim <- data.table(aa=c(1,2,3), vvat1at=c(1,5,16))
checked=TRUE

If had some check and it is TRUE, then in variable estim create new variable a with value 1.

if (checked) estim[, a:=1] 

But automatically printed out data.table.

#      aa  vat1at    a
#1:   1       1     1
#2:   2       5     1
#3:   3      16     1

Can some something to do that not printed out this data.table when I not wanted?

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions