identical is the scalar equivalent of vectorised ==. Only returns T or F. Must use when comparing non-atomics, like lists, or envs #rstats
1
1
Replying to @hadleywickham
.@hadleywickham: counter-example: identical(1:3, seq(1,3)). There is still no scalar in R. #rstats

Jan 9, 2013 · 2:19 PM UTC

2
Replying to @eddelbuettel
@eddelbuettel using scalar as shorthand for vector of length 1, this is twitter ;) #rstats
Replying to @eddelbuettel
@eddelbuettel but what is that example countering?
1
.@hadleywickham Your abuse of terminology,. I'd call identical() a "bitwise object comparison". Of any R type.
1