Debugging techniques in RStudio

June 22, 2018 Amanda Gadrow

Abstract

When you are building R scripts and documents, it can be challenging to figure out what went wrong when the code behaves in unexpected ways. Fortunately, there are excellent tools built into R and RStudio that can make debugging easier. This talk will explore those tools, including: using base R functions for debugging, tracing techniques, setting breakpoints in RStudio, understanding debug mode, and troubleshooting more complicated sources like packages and Shiny applications.

About the Author

Amanda Gadrow

Amanda is RStudio's quality assurance and support lead with many years’ experience writing automated test frameworks for enterprise software. She started learning R when she joined RStudio in 2016, and has been basking in its glory ever since. She is a co-organizer of R-Ladies Columbus, and spends a lot of time analyzing customer data to improve the products and optimize support.

Follow on Twitter More Content by Amanda Gadrow
Previous Video
Professional R tooling and integration - Nathan Stephens
Professional R tooling and integration - Nathan Stephens

Many organizations do not officially recognize R as a standard or integrate R with IT managed systems. Yet ...

Next Video
Scaling Shiny apps with asynchronous programming
Scaling Shiny apps with asynchronous programming

Asynchronous programming offers a way to offload certain classes of long-running operations from the main R...

×

Please register to receive regular updates on our webinars.

!
Thank you!
Error - something went wrong!