On Tue, 14 Mar 2006, Gabor Grothendieck wrote:

> On 3/14/06, Thomas Lumley <[EMAIL PROTECTED]> wrote:
>> It is probably worth pointing out here that the R documentation does not
>> specify the order in which lapply() does the computation.
>>
>
> I suspect that a huge amount of application code takes advantage
> of this order.
>

I don't.  The order of evaluation is usually not readily observable. You 
either have to use <<- to modify an external variable or you have to 
produce printed or graphical output where the order matters.

There's probably some examples, but there are some examples of people 
using solve(t(X) %*% W %*% X) %*% W %*% Y to compute regression 
coefficients, too.


        -thomas

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to