17.2.12

Debugging R using "recover"

I just discovered today that one way to easily insert oneself into a mis-performing function in R is to use "recover", via options(error=recover).

This allows you to enter any of the functions involved in the error, at the point where the error occurred. Hope someone else finds this useful.

No comments:

Post a Comment