R Errors and Examples