[R] Working with large matrix

A Ezhil
2009-09-11T17:15:53Z

Dear All,

I have large matrix (46000 x 11250). I would like to do the linear regression
for each row. I wrote a simple function that has lm() and used
apply(mat,1,func). The issue is that it takes ages to load the file and also to
finish the lm. I am using LINUX 64 bit with 32G mem. Is there an elegant and
fast way of completing this task?

Thanks in advance.

Kind regards,
Ezhil