From wettenhall at wehi.EDU.AU  Sat Sep 10 08:11:25 2005
From: wettenhall at wehi.EDU.AU (James Wettenhall)
Date: Sat, 10 Sep 2005 16:11:25 +1000 (EST)
Subject: [Rd] [R] Debugging R/Fortran in Windows
In-Reply-To: <43216662.7010802@stats.uwo.ca>
References: <3095.192.168.65.113.1126245320.squirrel@homebase.wehi.edu.au>
	<43216662.7010802@stats.uwo.ca>
Message-ID: <1999.138.217.40.71.1126332685.squirrel@homebase.wehi.edu.au>

Thanks very much to Uwe, Duncan and Seth (who replied off the list).

Uwe - That section of the R for Windows FAQ was very useful - thanks! 
Sorry I posted a question involving C/Fortran to R-Help.

Duncan - Thanks for all the useful info.  I've bookmarked the pages you
sent me.

Seth - Thanks for suggesting valgrind.  I tried it out, and it correctly
told me that memory leakage was not the problem (although I didn't believe
it at first).

It turned out that the reason my variables were being overwritten was not
because of memory leakage, but because of my own stupidity - using the
same variable name for a function I was estimating and for my current
estimate of that function.  Sorry I didn't spend more time checking this
myself!

Thanks again for your help,
James



[Rd] [R] Debugging R/Fortran in Windows
James Wettenhall