Unify how R is imported