provide more detailed error message on r compilation/interpretation errors