From Prof Brian Ripley <ripley@stats.ox.ac.uk>  Mon May 22 14:14:40 2000
From: Prof Brian Ripley <ripley@stats.ox.ac.uk> (Prof Brian Ripley)
Date: Mon, 22 May 2000 14:14:40 +0100 (BST)
Subject: integer functions {was [Rd] Inconsistencies }
Message-ID: <200005221314.OAA13936@toucan.stats.ox.ac.uk>


> Date: Mon, 22 May 2000 12:22:12 +0200 (MET DST)
> From: maechler@stat.math.ethz.ch
> 
> >>>>> "BDR" == Prof Brian D Ripley <ripley@stats.ox.ac.uk> writes:

[...]

>     BDR> Currently the only time in R you are likely to get an integer
>     BDR> result is a : or seq expression, but you are not supposed to rely
>     BDR> on this.
> 
> Well, "Values:"  in ?seq  says
> 
>  >> Value:
>  >>      The result is of `mode' `"integer"' if `from' is (numerically
>  >>      equal to an) integer.
> 
> on which I do rely..

My point was the reverse, though. You are not supposed to rely on
everything else giving double.  That's what the wam example in S3 did.

[...]

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


integer functions {was [Rd] Inconsistencies }
Prof Brian Ripley