<div dir="ltr">I think I like this proposal - maybe you should write up a few examples of what current behavior is, vs the proposed behavior.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 3, 2013 at 6:54 PM, Gabor Grothendieck <span dir="ltr"><<a href="mailto:ggrothendieck@gmail.com" target="_blank">ggrothendieck@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">data.table is supposed to generalize indexing and although not<br>
explicitly stated the generalization seems to be that indexing is<br>
merging with the row numbers so there is indeed merging going on and<br>
that merging should respect nomatch= for consistency.<br>
<div class="im HOEnZb"><br>
On Fri, May 3, 2013 at 6:54 PM, Eduard Antonyan<br>
<<a href="mailto:eduard.antonyan@gmail.com">eduard.antonyan@gmail.com</a>> wrote:<br>
</div><div class="HOEnZb"><div class="h5">> There is no join'ing happening here, thus nomatch=0 has no effect.<br>
><br>
><br>
> On Fri, May 3, 2013 at 5:52 PM, Gabor Grothendieck <<a href="mailto:ggrothendieck@gmail.com">ggrothendieck@gmail.com</a>><br>
> wrote:<br>
>><br>
>> The definition of DT was left out by mistake.  It should be:<br>
>><br>
>> DT <- data.table(a=letters[1:3])<br>
>><br>
>><br>
>> On Fri, May 3, 2013 at 6:50 PM, Gabor Grothendieck<br>
>> <<a href="mailto:ggrothendieck@gmail.com">ggrothendieck@gmail.com</a>> wrote:<br>
>> > Consider this example:<br>
>> ><br>
>> >> DT[1:4,,nomatch=0]<br>
>> >     a<br>
>> > 1:  a<br>
>> > 2:  b<br>
>> > 3:  c<br>
>> > 4: NA<br>
>> ><br>
>> > Should it not return only the first 3 rows?  It seems to be ignoring<br>
>> > the nomatch=0.<br>
>> ><br>
>> > --<br>
>> > Statistics & Software Consulting<br>
>> > GKX Group, GKX Associates Inc.<br>
>> > tel: 1-877-GKX-GROUP<br>
>> > email: ggrothendieck at <a href="http://gmail.com" target="_blank">gmail.com</a><br>
>><br>
>><br>
>><br>
>> --<br>
>> Statistics & Software Consulting<br>
>> GKX Group, GKX Associates Inc.<br>
>> tel: 1-877-GKX-GROUP<br>
>> email: ggrothendieck at <a href="http://gmail.com" target="_blank">gmail.com</a><br>
>> _______________________________________________<br>
>> datatable-help mailing list<br>
>> <a href="mailto:datatable-help@lists.r-forge.r-project.org">datatable-help@lists.r-forge.r-project.org</a><br>
>><br>
>> <a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
Statistics & Software Consulting<br>
GKX Group, GKX Associates Inc.<br>
tel: 1-877-GKX-GROUP<br>
email: ggrothendieck at <a href="http://gmail.com" target="_blank">gmail.com</a><br>
</div></div></blockquote></div><br></div>