Remove second copy of R function.