Re: [Rd] [R] variance/mean

2009-04-01 Thread Wacek Kusnierczyk
Martin Maechler wrote: > > Your patch is basically only affecting the default > method = "pearson". For (most) other cases, 'y = NULL' would > still remain *the* way to save computations, unless we'd start > to use an R-level equivalent [which I think does not exist] of > your C trick (DATAPT

Re: [Rd] [R] variance/mean

2009-04-01 Thread Martin Maechler
> Wacek Kusnierczyk > on Tue, 24 Mar 2009 00:39:58 +0100 writes: > (this post suggests a patch to the sources, so i allow myself to divert > it to r-devel) > Bert Gunter wrote: >> x a numeric vector, matrix or data frame. >> y NULL (default) or a vector, matrix o

Re: [Rd] [R] variance/mean

2009-03-24 Thread Wacek Kusnierczyk
William Dunlap wrote: > Doesn't Fortran still require that the arguments to > a function not alias each other (in whole or in part)? > what do you mean? the following works pretty fine: echo ' program foo implicit none integer, target :: a = 1 integer, poi

Re: [Rd] [R] variance/mean

2009-03-23 Thread William Dunlap
t.org] On Behalf Of William Dunlap > Sent: Monday, March 23, 2009 6:18 PM > To: Wacek Kusnierczyk; r-devel@r-project.org > Subject: Re: [Rd] [R] variance/mean > > Doesn't Fortran still require that the arguments to > a function not alias each other (in whole or in part)? &g

Re: [Rd] [R] variance/mean

2009-03-23 Thread William Dunlap
om: r-devel-boun...@r-project.org > [mailto:r-devel-boun...@r-project.org] On Behalf Of Wacek Kusnierczyk > Sent: Monday, March 23, 2009 4:40 PM > To: r-devel@r-project.org > Cc: r-h...@r-project.org; rkevinbur...@charter.net; Bert Gunter > Subject: Re: [Rd] [R] variance/mean >

Re: [Rd] [R] variance/mean

2009-03-23 Thread Wacek Kusnierczyk
(this post suggests a patch to the sources, so i allow myself to divert it to r-devel) Bert Gunter wrote: > x a numeric vector, matrix or data frame. > y NULL (default) or a vector, matrix or data frame with compatible > dimensions to x. The default is equivalent to y = x (but more efficient).