Generate RMD command to include a text from a file

Generate RMD command to include a text from a file

rmdTXT(file, caption = NULL, fontsize = 10, style = "CODE", label = NULL)

Arguments

file

Character string, specifying the absolute or relative path to the text file to include.

caption

Caption for the text file. If NULL then no caption is shown.

fontsize

Integer value for the fontsize.

style

Word DOCX template style to use for the text (default: "CODE")

label

Character string to be used for cross-referencing. If label and caption provided, then the caption will be numbered.

Value

TXT command as IQRrmd object