Added the R markdown modifications.