I recently updated to data.table 1.9.6 and get the following error when using fread
:
fread("Aug14.csv")
Error in fread("Aug14.csv") :
4 arguments passed to .Internal(nchar) which requires 3
Another post discusses this error in another context, but this worked fine prior to upgrading to data.table 1.9.6. Any advice?
Here's my set up:
sessionInfo()
R version 3.2.0 (2015-04-16)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] data.table_1.9.6 Matrix_1.2-2
loaded via a namespace (and not attached):
[1] modeltools_0.2-21 tools_3.2.0 splines_3.2.0 grid_3.2.0 chron_2.3-47 stats4_3.2.0 lattice_0.20-33
test.data.table()
return? – Nationwide> test.data.table() Running C:/Program Files/R/R-3.2.0/library/data.table/tests/tests.Rraw Loading required package: plyr Loading required package: ggplot2 Loading required package: hexbin Loading required package: nlme Loading required package: bit64 Loading required package: gdata Loading required package: GenomicRanges Loading required package: caret Loading required package: knitr Loading required package: plm Running test id 0 Error in setkeyv(x, cols, verbose = verbose, physical = physical) : 4 arguments passed to .Internal(nchar) which requires 3 There were 11 warnings
– Aphranchar
at the prompt. Is it a call with 4 arguments:.Internal(nchar(x, type, allowNA, keepNA))
and doesfind("nchar")
return"package:base"
? – Nationwide