[datatable-help] internal FALSE/TRUE value has been modified

James Sams sams.james at gmail.com
Thu May 1 06:40:44 CEST 2014


I don't really know what this error message means. A quick example to 
show what I'm seeing:

 > library(data.table)
data.table 1.9.3  For help type: help("data.table")
 > upc_table = data.table(upc=1:100000, upc_ver_uc=rep(c(1,2), 
times=50000), is_PL=rep(c(T, F, F, T), each=25000), 
product_module_code=rep(1:4, times=25000), ignore.column=2:100001)
 > upc = upc_table[, list(is_PL, product_module_code), keyby=list(upc, 
upc_ver_uc)]
Warning message:
In `[.data.table`(upc_table, , list(is_PL, product_module_code),  :
   internal TRUE value has been modified

When I continue using R, I eventually start getting more errors, such as:

Error in gettext(domain, unlist(args)) : invalid 'string' value
Error during wrapup: invalid 'string' value

and then terminal input/output becomes corrupted. I only start getting 
these error messages once I start using data.table; but the messages 
don't necessarily occur only with data.table functions.

I don't know if the last statement above is executing correctly or not. 
I'm rather confused as to what is going on. I was using a somewhat stale 
(maybe a couple of weeks old) svn version of data.table; but I see the 
same behavior with the latest data.table (r1263). I'm using CRAN's R 3.1 
package for Ubuntu on 13.10 and 14.04.



 > sessionInfo()
R version 3.1.0 (2014-04-10)
Platform: x86_64-pc-linux-gnu (64-bit)

locale:
  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C LC_TIME=en_US.UTF-8        
LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C LC_ADDRESS=C               
LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods base

other attached packages:
[1] data.table_1.9.3

loaded via a namespace (and not attached):
[1] plyr_1.8.1    Rcpp_0.11.1   reshape2_1.4  stringr_0.6.2

-- 
James Sams
sams.james at gmail.com



More information about the datatable-help mailing list