Fixed all R_Type functions so their toString() inputs are mapped correctly