I've now committed your patch proposal, almost unchanged,
to R-devel (subversion rev 38792),
so this will be available in R 2.4.0, and from tomorrow's
R-devel snapshot.
Thank you, very much, Vincent!
Martin Maechler, ETH Zurich
__
R-devel@r-project.or
Le Mardi 18 Juillet 2006 04:42, Martin Maechler a écrit :
> > "Vincent" == Vincent Goulet <[EMAIL PROTECTED]>
> > on Mon, 17 Jul 2006 15:03:34 -0400 writes:
>
> Vincent> Dear developeRs (and other abuseRs ;-),
>
> Vincent> I would like to contribute a patch against
> Vincent
On Wed, 19 Jul 2006, Martin Maechler wrote:
[most discussion of unix tail behavior deleted]
>
> I know that there is some "good" reason for the behavior of
> 'tail' in "Unix"
> { tail -3 === tail -n 3 and
>tail -3 === tail -n -3 }
>
> but of course, we can't be compatible here, becau
[Martin Maechler]
> Regarding unix command line compatibility:
> Note that there, 'tail' is *really* not what we want to imitate:
> "3" is the same as "-3" but different from "+3" :
>I know that there is some "good" reason for the behavior of
>'tail' in "Unix"
> { tail -3 === tail -n 3
> "FrPi" == François Pinard <[EMAIL PROTECTED]>
> on Tue, 18 Jul 2006 17:41:53 -0400 writes:
FrPi> [Vincent Goulet]
>> For me, this usage of head() and tail() is, at first,
>> completely unintuitive since I more used to, say, "start
>> from the beginning (head) of the v
[Vincent Goulet]
>For me, this usage of head() and tail() is, at first, completely
>unintuitive since I more used to, say, "start from the beginning (head)
>of the vector and drop the first n elements" than "return the end of
>the vector except the first n elements". But I must agree your
>con
Le Mardi 18 Juillet 2006 04:42, Martin Maechler a écrit :
> > "Vincent" == Vincent Goulet <[EMAIL PROTECTED]>
> > on Mon, 17 Jul 2006 15:03:34 -0400 writes:
>
> Vincent> Dear developeRs (and other abuseRs ;-),
>
> Vincent> I would like to contribute a patch against
> Vincent
> "Vincent" == Vincent Goulet <[EMAIL PROTECTED]>
> on Mon, 17 Jul 2006 15:03:34 -0400 writes:
Vincent> Dear developeRs (and other abuseRs ;-),
Vincent> I would like to contribute a patch against
Vincent> functions head() and tail() of package utils to
Vincent> allow f
Dear developeRs (and other abuseRs ;-),
I would like to contribute a patch against functions head() and tail() of
package utils to allow for a negative 'n' argument. This allows to extract
all but the first/last 'n' elements/rows/lines of an object, similar to
the "drop" operator of APL. [1]
I