allow execution of R code in markdown and cpp files