<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Which version please?</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Did you try it with 1.9.5 to see if it’s been fixed already?</div> <br> <div id="bloop_sign_1415351829219538944" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">Arun</div></div> <br><p style="color:#000;">On 7 Nov 2014 at 09:51:57, Michael Smith (<a href="mailto:my.r.help@gmail.com">my.r.help@gmail.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>Shouldn't the last two commands below yield identical results?
<br>
<br>DT <-
<br>    data.table(
<br>        CIK = c("0000060512", "0000839087"),
<br>        FileDate = c(8680, 10081))
<br>CIK = "0000839087"
<br>DT[CIK == (CIK)][FileDate <= 10104]
<br>
<br>          CIK FileDate
<br>1: 0000839087    10081
<br>
<br>DT[CIK == (CIK) & FileDate <= 10104]
<br>
<br>          CIK FileDate
<br>1: 0000060512     8680
<br>2: 0000839087    10081
<br>_______________________________________________
<br>datatable-help mailing list
<br>datatable-help@lists.r-forge.r-project.org
<br>https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
<br></div></div></span></blockquote></body></html>