Add R code and comb python