Using try and tryCatch to automatically handle errors in your R code. Strategies for debugging, including an introduction to R's powerful built-in debugging tool.
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.