RichOK == Richard A O'Keefe [EMAIL PROTECTED]
on Mon, 13 Dec 2004 10:56:48 +1300 (NZDT) writes:
RichOK I asked:
In this discussion of seq(), can anyone explain to me
_why_ seq(to=n) and seq(length=3) have different types?
RichOK Martin Maechler [EMAIL PROTECTED]
Richard A. O'Keefe [EMAIL PROTECTED] writes:
seq: from, to, by, length[.out], along[.with]
I'm about to fix this (documentation, not code).
Please don't. There's a lot of text out there: tutorials, textbooks,
S on-inline documentation, c which states over and over again that
I asked:
In this discussion of seq(), can anyone explain to
me _why_ seq(to=n) and seq(length=3) have different
types?
Martin Maechler [EMAIL PROTECTED] replied:
well, the explantion isn't hard: look at seq.default :-)
That's the efficient cause, I was after the final
I'm diverting to R-devel, where this is really more
appropriate.
RichOK == Richard A O'Keefe [EMAIL PROTECTED]
on Fri, 10 Dec 2004 14:37:16 +1300 (NZDT) writes:
RichOK In this discussion of seq(), can anyone explain to
RichOK me _why_ seq(to=n) and seq(length=3) have different
On Fri, 10 Dec 2004 09:32:14 +0100, Martin Maechler
[EMAIL PROTECTED] wrote :
RichOK If you want to pass seq(length=n) to a .C or
RichOK .Fortran call, it's not helpful that you can't tell
RichOK what the type is until you know n! It would be nice
RichOK if seq(length=n) always
Martin Maechler wrote:
I'm diverting to R-devel, where this is really more
appropriate.
RichOK == Richard A O'Keefe [EMAIL PROTECTED]
on Fri, 10 Dec 2004 14:37:16 +1300 (NZDT) writes:
RichOK In this discussion of seq(), can anyone explain to
RichOK me _why_ seq(to=n) and
Duncan == Duncan Murdoch [EMAIL PROTECTED]
on Fri, 10 Dec 2004 08:38:34 -0500 writes:
Duncan On Fri, 10 Dec 2004 09:32:14 +0100, Martin Maechler
Duncan [EMAIL PROTECTED] wrote :
RichOK If you want to pass seq(length=n) to a .C or
RichOK .Fortran call, it's not helpful that
On Fri, 10 Dec 2004, Peter Dalgaard wrote:
Martin Maechler [EMAIL PROTECTED] writes:
RichOK from, to, by, length.out, along.with
RichOK ^
RichOK when the help page for seq documents them as
RichOK from, to, by, length, and along?
Well I
On Fri, 10 Dec 2004, Martin Maechler wrote:
I'm diverting to R-devel, where this is really more
appropriate.
In the future, we really might want to have a new type,
some long integer or index which would be used both in R
and C's R-API for indexing into large objects where 32-bit
integers