s-news
[Top] [All Lists]

Time management in S-Plus

To: <s-news@lists.biostat.wustl.edu>
Subject: Time management in S-Plus
From: "Herschtal Alan" <Alan.Herschtal@petermac.org>
Date: Mon, 4 Jun 2007 11:23:43 +1000
Thread-index: AcemRv2eeIz8MFGJS52a5HTnkySQxQ==
Thread-topic: Time management in S-Plus

I am trying to run many iterations of a simulation in S-plus, and am finding that the time taken per iteration increases almost exponentially. I have tried to write the code as efficiently as I can, with minimal use of for loops, vector arithmetic wherever possible, and reusing datasets where feasible. I understand that this phenomenon has something to do with the paging in S-plus's memory management system. Is there any way to keep the execution time constant ?

Thanks,


Alan Herschtal
Biostatistician
Centre for Biostatistics and Clinical Trials
Peter MacCallum Cancer Centre
Ph: 9656 3639

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