Getting started with R code and the R interface