readRmd function

Read Rmarkdown file