R and R statification bug fixes