Errors Returned by R

Several testers here at KU found the errors produced in R rather uninformative. It is clear when something goes wrong, but it seems to be frequently unclear what can be done to correct the problem. The general suggestion was made that having very informative error information, more like the old Mx, would be preferable. I'll leave it open to discussion --- but that was the feedback from several testers in the middle of the country.

The 'values' argument expects a numeric argument. Looks like I need to add some error checking. At the moment, this character is being converted into an NA, and then the NA is thrown away and 0 is used.

A couple of us here at KU were discussing this very issue, and we agree that it would be very useful to compile some sort of repository of R errors for the frustrated user to reference in their time of crisis.

Maybe this list could be added to a section in the documentation as an easy reference for looking up a new or unfamiliar error message?