(R-exts.info)Debugging


Next: System and foreign language interfaces Prev: Tidying and profiling R code Up: Top
Enter node , (file) or (file)node

4 Debugging
***********

This chapter covers the debugging of R extensions, starting with the
ways to get useful error information and moving on to how to deal with
errors that crash R. For those who prefer other styles there are
contributed packages such as *debug*
(https://CRAN.R-project.org/package=debug) on CRAN (described in an
article in R-News 3/3
(https://CRAN.R-project.org/doc/Rnews/Rnews_2003-3.pdf)).  (There are
notes from 2002 provided by Roger Peng at
<http://www.biostat.jhsph.edu/~rpeng/docs/R-debug-tools.pdf> which
provide complementary examples to those given here.)

Browsing
Debugging R code
Checking memory access
Debugging compiled code

automatically generated by info2www version 1.2.2.9