[R] understanding integer divide (%/%)

2007-01-03 Thread Jeffrey Prisbrey
I am confused about why the following occurs: version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status

Re: [R] understanding integer divide (%/%)

2007-01-03 Thread ONKELINX, Thierry
] [mailto:[EMAIL PROTECTED] Namens Jeffrey Prisbrey Verzonden: woensdag 3 januari 2007 14:21 Aan: r-help@stat.math.ethz.ch Onderwerp: [R] understanding integer divide (%/%) I am confused about why the following occurs: version _ platform i386-pc-mingw32

Re: [R] understanding integer divide (%/%)

2007-01-03 Thread rolf
Thierry Onkelinx wrote: If you want to do an integer divide, you should only use integers to divide with. I think this should go into ``fortunes''. cheers, Rolf Turner

Re: [R] understanding integer divide (%/%)

2007-01-03 Thread Thomas Lumley
-Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Jeffrey Prisbrey Verzonden: woensdag 3 januari 2007 14:21 Aan: r-help@stat.math.ethz.ch Onderwerp: [R] understanding integer divide (%/%) I am confused about why the following occurs: version

Re: [R] understanding integer divide (%/%)

2007-01-03 Thread Prof Brian Ripley
On Wed, 3 Jan 2007, Thomas Lumley wrote: On Wed, 3 Jan 2007, ONKELINX, Thierry wrote: This is due to the internal representation of 0.1, which is not exactly 0.1 but very close to it. If you want to do an integer divide, you should only use integers to divide with. This must be