[Rd] Documentation/software inconsistency in `:` and seq
Stavros Macrakis
macrakis at alum.mit.edu
Wed Jun 24 16:34:32 CEST 2009
On Wed, Jun 24, 2009 at 5:28 AM, Martin Maechler
<maechler at stat.math.ethz.ch> wrote:
>
> SM> But of course 2.5 is not an integer or equal to one.
>
> Interestingly, because of an earlier posting on the topic,
> two days ago (*), I have fixed the help page (and very slightly also
> the code) of ":"
Sorry for the redundant report -- I don't remember that post.
>
> SM> Currently, the default method returns a result of type '"integer"'
> SM> if 'from' is (numerically equal to an) integer
>
> SM> This is not correct:
>
> Yes, seq(from, to) {without further arguments} and "default" 'from', indeed returns from:to
> and hence should probably either defer to the ":" help page or copy-paste from it.
Agreed.
>
> SM> [[alternative HTML version deleted]]
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> {I'm amazed that you still did not find out how to avoid the
> above, e.g., by following the posting guide ...}
I'm amazed you haven't upgraded from your ASR-33 with acoustic coupler :-)
-s
More information about the R-devel
mailing list