s-news
[Top] [All Lists]

Re: Memory Problem?

To: "Li, Qishan" <qishan@email.arizona.edu>
Subject: Re: Memory Problem?
From: "Frank E. Harrell Jr" <fharrell@virginia.edu>
Date: Fri, 16 Nov 2001 13:34:34 -0500
Cc: s-news@lists.biostat.wustl.edu
Organization: University of Virginia
References: <3BF450F800000F03@deimos.email.Arizona.EDU>
User-agent: Mozilla/5.0 (X11; U; Linux 2.4.9-12 i686; en-US; rv:0.9.1) Gecko/20010608
Qishan,

Your message does not give us a clue as to the version of S-Plus
you are using, your operating system, and amount of RAM, not
to mention what's in "do something here".

Frank

Li, Qishan wrote:

Dear s-newsers:
I should be grateful for suggestions on how to solve the following problem:

The file I am using is something like
--------------
v1 <- 10.0
#
for (i in 1:9)
{
# do something here
}
print(v1)
--------------

When I use my home PC to compute, I need 2-3 hrs for the first two points
(say i=1 and i=2). But, I need to run 3hrs to get the 3rd point, and even
more time for the 4th point. I never get the 4th point becuase I do not want
to wait and I have to stop the program.
I quit Splus and run Splus again. This time, I compute the 4th point (i in
4:4) only. It takes me only 1-2 hrs. I think there maybe a memory problem. But, I could not figure out. Many thanks.

Qishan Li



---------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu.  To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message:  unsubscribe s-news





--
Frank E Harrell Jr              Prof. of Biostatistics & Statistics
Div. of Biostatistics & Epidem. Dept. of Health Evaluation Sciences
U. Virginia School of Medicine  http://hesweb1.med.virginia.edu/biostat


<Prev in Thread] Current Thread [Next in Thread>