> Where is my error?? You are assuming that numbers are represented exactly: http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f > 0.3/0.1 == 3 [1] FALSE Hadley