Re: [R] R getting slower until it breaks...

2010-10-06 Thread jim holtman
Have you looked to see how fast your memory might be growing? Are you leaving around any large objects that should be removed? Have you looked to see if you are paging? Is it your CPU time that is increasing, or your wall clock time? You may need to run perfmon to see what is happening. It soun

[R] R getting slower until it breaks...

2010-10-06 Thread Bastien Ferland-Raymond
Hello R-users, I'm currently facing a pretty hard problem which I'm hopping you'll be able to help me with. I'm using R to create images. That alone is not the problem, the problem is that I'm using R to create 168 000 images... My code (which is given below) use different package (raster an