make runninng the R code optional. closes #102