commit R code