Debugging

R provides a number of tools to help you with debugging your code. The primary tools for debugging functions in R are traceback(): prints out the function call stack after an error occurs; does nothing if there’s no error debug(): flags a function for “debug” mode which allows you to step through execution of a […]

How To

A collection of code showing examples of how to do some common tasks in R.