For web demo, includes R code