R: improved displaying of error msges.