Debugging

RStudio 1.1.x
  • 12 Videos | 54m 53s
  • Includes Assessment
  • Earns a Badge
Likes 4 Likes 4
One of the most important tasks in any programming language or development environment is debugging. Discover ways you can debug R code and improve the resilience of your R programs through defensive programming.

WHAT YOU WILL LEARN

  • debug R code with RStudio
    use the traceback function to examine the call stack
    use browser to step through R code
    use R warning and message functions
    implement handlers for debugging
    use the microbenchmark library to benchmark R performance
  • identify methods of defensive programming in R
    set your R program to report warnings as errors for debugging
    implement asserts in R
    use the pryr library to examine memory use in R
    trace address and reference information in R using pryr
    add the browser function to some R code to debug it

IN THIS COURSE

  • Playable
    1. 
    Debugging with RStudio
    3m 43s
    UP NEXT
  • Playable
    2. 
    Using Traceback
    4m 5s
  • Locked
    3. 
    Debugging with Browser
    4m 6s
  • Locked
    4. 
    Displaying Warnings and Messages
    3m 16s
  • Locked
    5. 
    Implementing Handlers
    5m 3s
  • Locked
    6. 
    Benchmarking in R
    5m 56s
  • Locked
    7. 
    Methods of Defensive Programming
    4m 51s
  • Locked
    8. 
    Turning Warnings into Errors
    4m 26s
  • Locked
    9. 
    Programming with Asserts
    3m 49s
  • Locked
    10. 
    Using pryr
    2m 39s
  • Locked
    11. 
    Addressing Memory with pryr
    5m 4s
  • Locked
    12. 
    Exercise: Debug with Browser
    2m 26s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Likes 63 Likes 63  
CHANNEL Ruby
Likes 24 Likes 24