hadley / adv-r

Advanced R: a book

Home Page:http://adv-r.hadley.nz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Debugging content suggestion (Ch 22.3): Indicate how to turn on console 'Show Traceback' option

mpettis opened this issue · comments

In 22.3 ("Locating Errors"), there is sample code given to trigger the console options of "Show Traceback" and "Rerun with Debug". When I ran that code, I got the error, but no choice to select those options.

In RStudio, I had to go to 'Debug > On Error' and select 'Error Inspector', and then it worked. I found with a bit of googling, but it may avoid some reader confusion if this is mentioned in the text.