commit the Rmd file