R code updates.