Learn R Programming

pander (version 0.6.6)

pandoc.date.return: Dates

Description

Pandoc's mardown date.

Usage

pandoc.date.return(x, inline = TRUE, simplified = FALSE, ...)

Value

By default this function outputs (see: cat) the result. If you would want to catch the result instead, then call the function ending in .return.

Arguments

x

date or vector of dates

inline

if to render vector of dates as inline paragraph or not (as list)

simplified

if just add date formatting to vector of dates

...

extra arguments passed by from parent call, disregarded

Examples

Run this code
pandoc.date(Sys.Date())
pandoc.date(Sys.Date() - 1:10)
pandoc.date(Sys.Date() - 1:10, inline = FALSE)

Run the code above in your browser using DataLab