Skip to content

Error: SETLENGTH() cannot be applied to an ALTVEC object. #2820

@HughParsonage

Description

@HughParsonage

On Linux I get an error in a package which imports data.table for R-dev only:

# Minimal reproducible example

out <- data.table(tex_group = c(0L, 1L, 1L))
out[, z1 := .GRP, by = "tex_group"]
#> Error in `[.data.table`(out, , `:=`(z1, .GRP), by = "tex_group") : 
#>   SETLENGTH() cannot be applied to an ALTVEC object.
#> Calls: [ -> [.data.table
#> Execution halted
$ Rscript -e 'sessionInfo()'
R Under development (unstable) (2018-05-02 r74679)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 14.04.5 LTS
Matrix products: default
BLAS: /home/travis/R-bin/lib/R/lib/libRblas.so
LAPACK: /home/travis/R-bin/lib/R/lib/libRlapack.so
locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base  

Likely culprit? wch/r-source@e0b8474

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions