R_Clear and some duplicated R_ declarations