By the way, I know it's not reproducible with the code below. Before
going into further detail, I first wanted to ask whether this looks like
a bug, or whether I've overlooked something obvious and this is expected
behavior.

Thanks,
M

On 06/19/2014 11:51 AM, Michael Smith wrote:
> I got the following result on my keyed data tables `CS` and `SP`, which
> seems like a bug (in 1.9.2 and 1.9.3 dev version) to me, since all
> columns should have the _same_ length:
> 
>> ## Works as expected:
>> all((l <- sapply(CS[SP, roll = TRUE], length)) == l[1])
> [1] TRUE
>> ## Works as expected:
>> all((l <- sapply(CS[SP, nomatch = 0], length)) == l[1])
> [1] TRUE
>> ## Here's the potential _bug_, when combining both:
>> all((l <- sapply(CS[SP, nomatch = 0, roll = TRUE], length)) == l[1])
> [1] FALSE
> 
> 
> Thanks,
> 
> M
> 
_______________________________________________
datatable-help mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help

Reply via email to