[datatable-help] error in rbindlist
Farrel Buchinsky
fjbuch at gmail.com
Mon Mar 9 19:21:35 CET 2015
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20150309/6454e3ee/attachment.html>
More information about the datatable-help
mailing list