Skip to content
Prev 21706 / 63468 Next

Inaccuracy in seq() (PR#9189)

On Wed, 30 Aug 2006 kellymj1 at cf.ac.uk wrote:

            
Not a bug, but a FAQ (7.31):

http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f

Try:

otherthing[25]==thingnor[3]
identical(otherthing[25], thingnor[3])
all.equal(otherthing[25], thingnor[3])

?all.equal