Displaying 1 result from an estimated 1 matches for "defcombin".
Did you mean:
defcombine
2010 Dec 11
1
'identical' and the warning "ignoring non-pairlist attributes"
...from
the source code of 'identical' that the function checks and
believes that .combine and cbind have non-pairlist attributes, but I
don't understand how this can be the case
I have produced the following minimal example
data.frame()[rep(1,1e6), ]
library(foreach)
identical(foreach:::defcombine, cbind)
resulting in
[1] FALSE
Warning message:
In identical(foreach:::defcombine, cbind) :
ignoring non-pairlist attributes
The warning is not related to the foreach package it seems. I get
the same kind of warning with e.g.
identical(spatial:::trmat, cbind)
in a new R-session. Many other...