replace r_datum with datum

And R_DATUM with DATUM.