[datatable-help] Error corrupts tables

Arunkumar Srinivasan aragorn168b at gmail.com
Mon Jun 30 18:45:57 CEST 2014


Fixed in 1.9.3: https://github.com/Rdatatable/data.table/commit/ddc1d23166932198ee826f8e66176266093b0b41

Arun

From: Stavros Macrakis (Σταῦρος Μακράκης) macrakis at alum.mit.edu
Reply: Stavros Macrakis (Σταῦρος Μακράκης) macrakis at alum.mit.edu
Date: June 30, 2014 at 6:30:56 PM
To: datatable-help at r-forge.wu-wien.ac.at datatable-help at r-forge.wu-wien.ac.at
Subject:  [datatable-help] Error corrupts tables  

> 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.
_______________________________________________  
datatable-help mailing list  
datatable-help at lists.r-forge.r-project.org  
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20140630/3a8f7d88/attachment.html>


More information about the datatable-help mailing list