From murdoch.duncan at gmail.com  Fri Jul 29 20:03:00 2011
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Fri, 29 Jul 2011 14:03:00 -0400
Subject: [Rd] R DDD fortran
In-Reply-To: <6441154A9FF1CD4386AF4ABF141A056D2A71A643@WMEXOSCD2-N1.bocad.bank-banque-canada.ca>
References: <6441154A9FF1CD4386AF4ABF141A056D2A71A643@WMEXOSCD2-N1.bocad.bank-banque-canada.ca>
Message-ID: <4E32F5D4.7090806@gmail.com>

On 29/07/2011 11:41 AM, Paul Gilbert wrote:
> Is there an easy way to compile a packages's fortran so that it has the information for ddd or gdb to follow the lines of the code? I seem to remember seeing something about this, but I cannot find it in Writing R Extensions. (I see about Valgrind, debugging a segfault, and some other tricks, but what I really want is to follow the fortran logic.)

On Windows, you set the environment variable DEBUG to T before 
compiling.   I believe that's the default on non-Windows platforms, but 
I imagine there are exceptions (perhaps all of them!)

Duncan Murdoch

> Thanks for any pointers,
> Paul
> ====================================================================================
>
> La version fran??aise suit le texte anglais.
>
> ------------------------------------------------------------------------------------
>
> This email may contain privileged and/or confidential information, and the Bank of
> Canada does not waive any related rights. Any distribution, use, or copying of this
> email or the information it contains by other than the intended recipient is
> unauthorized. If you received this email in error please delete it immediately from
> your system and notify the sender promptly by email that you have done so.
>
> ------------------------------------------------------------------------------------
>
> Le pr??sent courriel peut contenir de l'information privil??gi??e ou confidentielle.
> La Banque du Canada ne renonce pas aux droits qui s'y rapportent. Toute diffusion,
> utilisation ou copie de ce courriel ou des renseignements qu'il contient par une
> personne autre que le ou les destinataires d??sign??s est interdite. Si vous recevez
> ce courriel par erreur, veuillez le supprimer imm??diatement et envoyer sans d??lai ? 
> l'exp??diteur un message ??lectronique pour l'aviser que vous avez ??limin?? de votre
> ordinateur toute copie du courriel re??u.
>
> 	[[alternative HTML version deleted]]
>
>
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] R DDD fortran
Duncan Murdoch