These web pages describe various issues involved in debugging code written for the open source statistical package R. It is particularly aimed at Windows programmers, but many of the techniques work more widely. For instructions particular to other platforms, and non-compiler-specific details, see the Writing R Extensions manual in the docs subdirectory of the R installation. The cat() and print()