[datatable-help] error in rbindlist
Arunkumar Srinivasan
aragorn168b at gmail.com
Mon Mar 16 18:55:01 CET 2015
Without an MRE my best guess is that you’ve a NA somewhere.
--
Arun
On 9 Mar 2015 at 19:22:15, Farrel Buchinsky (fjbuch at gmail.com) wrote:
I used a series of statements such as this
l = list(specs.post.crash, specimens[,1:26, with=FALSE])
to work out which set of columns worked and which did not.
I found the offending column
kbdtimespecim is a column from sepcimens. It is the 27 th column. With it included the whole rbindlist collapses. Without it, it works.
"15:04:48" "15:02:52" "15:06:44" "16:07:22" "16:07:22" "16:07:22"
> class(specimens$kbdtimespecim)
[1] "ITime"
Any idea why?
Farrel Buchinsky
Google Voice Tel: (412) 567-7870
On Mon, Mar 9, 2015 at 2:08 PM, Farrel Buchinsky <fjbuch at gmail.com> wrote:
I am doing something really simple but getting an error I do not know how to troubleshoot.
l = list(specimens, specs.post.crash)
rbindlist(l, fill = TRUE)
specimens has about 5 columns and specs.post.crash has about 29.
I get this error. I cannot find anyone else with this problem. I cannot share my actual data.table since it has private information.
Error in if (any(neg)) res[neg] = paste("-", res[neg], sep = "") :
missing value where TRUE/FALSE needed
Interested in the off-the-top-of-your-head suggestions of where to troubleshoot.
Using {R package version 1.9.5}
Farrel Buchinsky
Google Voice Tel: (412) 567-7870
_______________________________________________
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/20150316/392d0a54/attachment.html>
More information about the datatable-help
mailing list