I'm running S-Plus 6r2, under Windows 2000, on a dual Athlon 1800, 2 GB RAM
box.
I've written some rather long scripts that do rather mundane things, such
as take the difference between two sets of matrices with, say 60 matrices
per set. Hence, 60 pairs of matrices are involved, and each difference
generates yet another matrix. The matrices are rather large, about 13000 x
400.
Running the script, I find that S-Plus runs out of virtual memory. Yet, if
I paste the script contents into the command window, all runs
fine. Obviously, S-Plus is keeping a lot of objects (all of them?) in
memory until the script execution is complete.
What's really going on here? Aside from pasting the script contents into
the command window, is there a way to make a script behave like the command
window?
Thanks for any insights!
Kim Elmore
Kim Elmore, Ph.D.
"All of weather is divided into three parts: Yes, No, and Maybe. The
greatest of these is Maybe" The original Latin appears to be garbled.
|