R to identify