[datatable-help] (1.9.2) data.table crash when assign N values to N<1 rows

Arunkumar Srinivasan aragorn168b at gmail.com
Thu Aug 21 22:18:43 CEST 2014


Hi Alan,

Could you please try it on 1.9.3: https://github.com/Rdatatable/data.table From what I vaguely recall, this has been fixed..

Arun

From: Alan Kwan <alanpaulkwan at gmail.com>
Reply: Alan Kwan <alanpaulkwan at gmail.com>>
Date: August 21, 2014 at 9:49:44 PM
To: datatable-help <datatable-help at lists.r-forge.r-project.org>>
Subject:  [datatable-help] (1.9.2) data.table crash when assign N values to N<1 rows  

Despite a few minutes of Googling I am unsure of whether this has been reported, but if it hasn't the following reliably crashes R "seg fault", on, if it matters, my Linux box

sample=data.table(a=1:50,b='N')
sample[50,b:=c(1,2,3)]

I don't know the guts of data.table to know whether it'd be easy to error check without sacrificing performance. At the very least maybe some helpful output?
_______________________________________________  
datatable-help mailing list  
datatable-help at lists.r-forge.r-project.org  
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20140821/b51a2b01/attachment.html>


More information about the datatable-help mailing list