printing all R code in the doc