[R] help to debug C codes called from R
Duncan Murdoch
murdoch at stats.uwo.ca
Wed Oct 8 12:58:51 CEST 2008
On 07/10/2008 9:28 PM, Droit Arnaud wrote:
> Hello everybody,
>
> I have a package with a C codes called from R.
> I want to debug the C functions to check variables values and to include some breakpoints in the C codes.
> I am wondering if anyone knows of any tools to easily help debug in the R environment.
You can use whatever debugger you normally use for C code, e.g.
gdb/insight/ddb if you are using the usual gcc tools to build it.
For details on doing this in Windows, see
www.stats.uwo.ca/faculty/murdoch/software/debuggingR
Duncan Murdoch
More information about the R-help
mailing list