I can't run a function which generates random numbrers using linear congruential generator. My multiplier is a=5+8^6, increment is b=1 and modulo is m=2^30.
the code I have written works for modulo upto m=2^28.
For m= 2^29 , it says, can not allocate memory for the vector or something like that.
For m= 2^31 or more, its says the argument "for i in 1:m " is too large in magnitude.
I tried to increase the memory size but it did not work.
Any help will be appreciated.
Thanks. Raheem
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
