[datatable-help] Error corrupts tables

Stavros Macrakis (Σταῦρος Μακράκης) macrakis at alum.mit.edu
Mon Jun 30 18:30:45 CEST 2014


> library(data.table)
data.table 1.9.2  For help type: help("data.table")
> test <- data.table(a=1:10,b=1:10%%6==0,key="a")
> test[b==1][test,b,roll=2]
Error in if (!is.null(lhs)) { : missing value where TRUE/FALSE needed

Not sure what the error is there, but even worse...

> test
Error in if (!is.null(ns)) ns else tryCatch(loadNamespace(name), error =
function(e) { :
  missing value where TRUE/FALSE needed

> tables()
Error in if (!is.null(ns)) ns else tryCatch(loadNamespace(name), error =
function(e) { :
  missing value where TRUE/FALSE needed

It looks like some data structure has been corrupted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20140630/f4f9f912/attachment.html>


More information about the datatable-help mailing list