Re: [Rd] R DDD fortran

From: Duncan Murdoch <>
Date: Fri, 29 Jul 2011 14:03:00 -0400

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]]
> ______________________________________________
> mailing list
> mailing list Received on Fri 29 Jul 2011 - 18:06:39 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 29 Jul 2011 - 18:20:12 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive