Initial R code import