r interface