R code and supplements