Covelli, From ?rep
Non-integer values of times will be truncated towards zero. If times is a computed quantity it is prudent to add a small fuzz. Thus, the example is a very interesting special case of FAQ 7.31, > sprintf("%17.17a",66) [1] "0x1.08000000000000000p+6" > sprintf("%17.17a",pr) [1] "0x1.07fffffffffff0000p+6" > We see that pr is just a tiny bit smaller than 66 and gets rounded down to 65. Rich [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.