[Rd] memory problem

Jared.O'Connell at csiro.au Jared.O'Connell at csiro.au
Tue May 3 13:40:41 CEST 2005


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 at ebi.ac.uk]
Sent:	Tue 5/3/2005 6:54 PM
To:	Prof Brian Ripley
Cc:	O'Connell, Jared (CMIS, Floreat); r-devel at 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



More information about the R-devel mailing list