[datatable-help] Crash on improperly formed Assignment by Reference

Thell Fowler tbfowler4 at gmail.com
Tue Sep 4 06:00:50 CEST 2012


Matt,

Just wanted to report that the following causes a crash,

library(data.table) # 1.8.2
n <- 1e6
dt <- data.table( c1=1:n )
dt[,`:=`(c2=1L:n,  c3=sample(LETTERS, size= n, replace = TRUE)), with=FALSE
]

It is, no doubt, improperly formed; yet should it be captured prior to a
crash?

-- 
Sincerely,
Thell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20120903/e9d0796a/attachment.html>


More information about the datatable-help mailing list