Add Rpresent and Rinput support