Re: [R] Res: gc() and memory efficiency

2008-02-06 Thread Henrik Bengtsson
Open suggestion/question: If you in each step of an K-step iteration load/allocate a large object, each time of a different size, followed by smaller memory allocations (due to your analysis), you might be better of if you could do the iteration such that the largest object is in the first iterati

[R] Res: gc() and memory efficiency

2008-02-06 Thread Milton Cezar Ribeiro
Dear Harold, I had the same problem some times ago. I noticed that after I run a set commands (cleaning all non-usefull variables) for 5 times, the system broken-down. I solved it building several scritpsNN.R and call them in a .BAT DOS file. It worked so fine, almost in my case, and the comput