Skip to content
Prev 312949 / 398503 Next

Large loops in R

I don't think there's any reason for the calculation you're doing that
you must have the whole matrix in memory, is there?

Unless there's something more than what you've shown us, you're just
taking the sum of elementwise operations. You can read the matrix in
in manageable chunks, take the sum of that chunk and save the single
value. Repeat, then add them all up at the end.

Sarah

On Tue, Dec 4, 2012 at 3:14 PM, Charles Novaes de Santana
<charles.santana at gmail.com> wrote:
--
Sarah Goslee
http://www.functionaldiversity.org