require(data.table)              # print?
DT = data.table(x=1:3, y=4:6)    # no
DT                               # yes
DT[, z := 7:9]                   # no
print(DT[, z := 10:12])          # yes
if (1 < 2) DT[, a := 1L]         # no
DT                               # yes

Some text.



Try the data.table package in your browser

Any scripts or data that you put into this service are public.

data.table documentation built on May 29, 2024, 6:06 a.m.