add R and Rmd examples