Skip to content
Prev 294647 / 398506 Next

Odd behaviour of identical()

I believe it's coming down to the difference between integers and
doubles (the computer data types, not the math-y meaning of those
terms) -- e.g.,

identical( c(0L, 0L), c(0,0) )

Note that sequences made by `:` provide integers when possible: is.integer(1:5)

You may want to use all.equal() instead.

Best,
Michael
On Tue, May 15, 2012 at 11:45 AM, math_daddy <math_daddy at hotmail.com> wrote: