R Markdown header r Sys.Date() code example Example: rmarkdown put date date: '`r paste("First created on Oct 01, 2018. Updated on", Sys.Date())`'