On Mon, 1 Aug 2005, Haibo Huang wrote:
Please refer to the following post.
Which is about Windows only, not Linux. (And on Windows, the answer given
is on the help page for memory.size. together with a better one.)
Ed
--- Mike Lawrence [EMAIL PROTECTED] wrote:
Date: Mon, 1 Aug 2005
If you have a code that takes 2 weeks to run, than it might be a case of
inefficient algorithm design. I was able to go from overnight runs (SELDI
data analysis) to 20 minute runs by identifying single inefficient function
that took most of the time, and writing it in C.
Jarek
And you can identify inefficient code fairly easily taking snapshots
from proc.time and computing elapsed time for sections of your code.
spencer graves
Tuszynski, Jaroslaw W. wrote:
If you have a code that takes 2 weeks to run, than it might be a case of
inefficient
On 8/2/05, Spencer Graves [EMAIL PROTECTED] wrote:
And you can identify inefficient code fairly easily taking snapshots
from proc.time and computing elapsed time for sections of your code.
spencer graves
Using Rprof may be a better choice. See
?Rprof
Tuszynski,
On Tue, 2 Aug 2005, Spencer Graves wrote:
And you can identify inefficient code fairly easily taking snapshots
from proc.time and computing elapsed time for sections of your code.
Or use the profiler, which makes it much easier. There was a Programmers'
Niche article about it in one
Hi,
Thank you all for the kind reply.
I recompiled R as the previous one turned profiling
off.
I am using package MAANOVA, running the matest
function which is a permutation test. The author did
warn that it takes a long time to run.
Here is one of the test results:
[ Rdata]# ./R CMD Rprof
Please refer to the following post.
Ed
--- Mike Lawrence [EMAIL PROTECTED] wrote:
Date: Mon, 1 Aug 2005 00:19:06 -0300
From: Mike Lawrence [EMAIL PROTECTED]
To: Briggs, Meredith M
[EMAIL PROTECTED]
CC: r-help@stat.math.ethz.ch
Subject: Re: [R] How do you increase memeory?