From Jared.O'Connell at csiro.au  Tue May  3 13:40:41 2005
From: Jared.O'Connell at csiro.au (Jared.O'Connell@csiro.au)
Date: Tue May  3 13:40:54 2005
Subject: [Rd] memory problem
Message-ID: <41FA45064D9534448E73B46B367F71F121D8E2@exwa2-per.wa.csiro.au>

Sorry - I *was* using Windows.  Rebooted in Linux and ran

R -d gdb

subsequently found and fixed problem in less than 5 minutes (runaway pointer).
Lesson learned.

Thanks,

Jared


-----Original Message-----
From:	Wolfgang Huber [mailto:huber@ebi.ac.uk]
Sent:	Tue 5/3/2005 6:54 PM
To:	Prof Brian Ripley
Cc:	O'Connell, Jared (CMIS, Floreat); r-devel@stat.math.ethz.ch
Subject:	Re: [Rd] memory problem
Prof Brian Ripley wrote:
> 
> If you run R under a debugger such as gdb you will get much more useful 
> information.  You haven't even told us your OS: for UNIX-alikes using
> 
>     R -d gdb
> 
> is the most common way.

And

R -d ddd

(set the option "Run in separate execution window" before starting R)
offers a nice GUI for the debugger. Obviously, you need to have 
installed ddd: http://www.gnu.org/software/ddd/

Best regards
   Wolfgang

-------------------------------------
Wolfgang Huber
European Bioinformatics Institute
European Molecular Biology Laboratory
Cambridge CB10 1SD
England
Phone: +44 1223 494642
Fax:   +44 1223 494486
Http:  www.ebi.ac.uk/huber


[Rd] memory problem
Jared.O'Connell@csiro.au