[datatable-help] Possible bug in 1.9.x versions

Matt Dowle mdowle at mdowle.plus.com
Thu Feb 27 16:49:12 CET 2014


Thanks.  Yes, I see the same.  1,220 tests plus tests from 37 dependent 
packages still isn't enough is it.  Sigh.  Will fix.

Matt


On 27/02/14 15:26, Michele wrote:
> Hi, thanks for the quick response. Still nothing though. Using the .zip form
> r-forge, at http://datatable.r-forge.r-project.org/data.table_1.9.2.zip,
> doesn't give me errors like `object 'Cforder' not found
> `, but the below join is still incorrect.
>
>> remove.packages("data.table")
> Removing package from ‘C:/Program Files/R/R-3.0.2/library’
> (as ‘lib’ is unspecified)
>> install.packages("C:/Users/MCarrie/Downloads/data.table_1.9.2.zip", repos
>> = NULL)
> Warning in install.packages :
>    package ‘C:/Users/MCarrie/Downloads/data.table_1.9.2.zip’ is not available
> (for R version 3.0.2)
> package ‘data.table’ successfully unpacked and MD5 sums checked
>> require(data.table)
> Loading required package: data.table
> data.table 1.9.2  For help type: help("data.table")
> Warning message:
> package ‘data.table’ was built under R version 3.1.0
>> test.data.table()
> Running C:/Program Files/R/R-3.0.2/library/data.table/tests/tests.Rraw
> Loading required package: reshape2
> Loading required package: reshape
> Loading required package: plyr
> Loading required package: ggplot2
> Loading required package: hexbin
> Loading required package: nlme
> Loading required package: xts
> Loading required package: zoo
>
> Attaching package: ‘zoo’
>
> The following objects are masked from ‘package:base’:
>
>      as.Date, as.Date.numeric
>
>
> Attaching package: ‘xts’
>
> The following object is masked from ‘package:data.table’:
>
>      last
>
> Loading required package: bit64
> Loading required package: gdata
> gdata: read.xls support for 'XLS' (Excel 97-2004) files
> gdata: ENABLED.
>
> gdata: read.xls support for 'XLSX' (Excel 2007+) files
> gdata: ENABLED.
>
> Attaching package: ‘gdata’
>
> The following object is masked from ‘package:stats’:
>
>      nobs
>
> The following object is masked from ‘package:utils’:
>
>      object.size
>
> Test 167.2 not run. If required call library(hexbin) first.
> Don't know how to automatically pick scale for object of type ITime.
> Defaulting to continuous
> Don't know how to automatically pick scale for object of type ITime.
> Defaulting to continuous
> Tests 487 and 488 not run. If required call library(reshape) first.
> Tests 897-899 not run. If required call library(bit64) first.
> All 1220 tests in inst/tests/tests.Rraw completed ok in 22.115sec on Thu Feb
> 27 15:19:35 2014
>
> library(data.table)
> set.seed(1)
>
>> dt <- data.table(id=rep(1:4, each=3),
> +                  var1 = rep(letters[1:3], 4),
> +                  var2 = rnorm(12),
> +                  key="i ..." ... [TRUNCATED]
>
>> dt
>      id var1       var2
>   1:  1    a -0.6264538
>   2:  1    b  0.1836433
>   3:  1    c -0.8356286
>   4:  2    a  1.5952808
>   5:  2    b  0.3295078
>   6:  2    c -0.8204684
>   7:  3    a  0.4874291
>   8:  3    b  0.7383247
>   9:  3    c  0.5757814
> 10:  4    a -0.3053884
> 11:  4    b  1.5117812
> 12:  4    c  0.3898432
>
>> key(dt)
> [1] "id"   "var1"
>
>> dt[.(unique(id)), list(var1, var2)]
>      id var1       var2
>   1:  1    a -0.6264538
>   2:  1    a  0.1836433
>   3:  1    a -0.8356286
>   4:  2    a  1.5952808
>   5:  2    a  0.3295078
>   6:  2    a -0.8204684
>   7:  3    a  0.4874291
>   8:  3    a  0.7383247
>   9:  3    a  0.5757814
> 10:  4    a -0.3053884
> 11:  4    a  1.5117812
> 12:  4    a  0.3898432
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Possible-bug-in-1-9-x-versions-tp4685930p4685932.html
> Sent from the datatable-help mailing list archive at Nabble.com.
> _______________________________________________
> 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



More information about the datatable-help mailing list