Hi

I am running a simulation that involves a loop calling three 2 functions that I have written. Everything works fine when the inside of the loop is performed up to 1000 times (for (i in 1:750)). 

However, I sometimes get : ''Error: subscript out of bounds'' if I try to increase the loop 'size' to 1000. I am thinking it has to to with memory but I am not sure. I have increased my memory size to 512M but it does not solve my problem.

It would take to much place to copy and paste my code here. It would be helpful if you could tell me whether my problem may or may not be related to memory size.

Beside, what's the difference between

     Error: subscript out of bounds
     Error: subscript out of range  ?


Regards

M-P Sylvestre




	[[alternative HTML version deleted]]


