post: extract R code from Rmd file