r in term