<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,0,0)"><div class="gmail_default"><div class="gmail_default"><font face="courier new, monospace">> library(data.table)</font></div><div class="gmail_default">
<font face="courier new, monospace">data.table 1.9.2 For help type: help("data.table")</font></div><div class="gmail_default"><font face="courier new, monospace">> test <- data.table(a=1:10,b=1:10%%6==0,key="a")</font></div>
<div class="gmail_default"><font face="courier new, monospace">> test[b==1][test,b,roll=2]</font></div><div class="gmail_default"><font face="courier new, monospace">Error in if (!is.null(lhs)) { : missing value where TRUE/FALSE needed</font></div>
<div class="gmail_default"><font face="courier new, monospace"><br></font></div><div class="gmail_default"><font face="georgia, serif">Not sure what the error is there, but even worse...</font></div><div class="gmail_default">
<font face="courier new, monospace"><br></font></div><div class="gmail_default"><font face="courier new, monospace">> test</font></div><div class="gmail_default"><div class="gmail_default"><font face="courier new, monospace">Error in if (!is.null(ns)) ns else tryCatch(loadNamespace(name), error = function(e) { : </font></div>
<div class="gmail_default"><font face="courier new, monospace"> missing value where TRUE/FALSE needed</font></div><div><font face="courier new, monospace"><br></font></div></div><div class="gmail_default"><font face="courier new, monospace">> tables()</font></div>
<div class="gmail_default"><font face="courier new, monospace">Error in if (!is.null(ns)) ns else tryCatch(loadNamespace(name), error = function(e) { : </font></div><div class="gmail_default"><font face="courier new, monospace"> missing value where TRUE/FALSE needed</font></div>
<div class="gmail_default"><font face="georgia, serif"><br></font></div><div class="gmail_default"><font face="georgia, serif">It looks like some data structure has been corrupted.</font></div></div></div></div>