added latest Rmd file from Pieter