Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_reference_value

Get the document being used as a template


Description

Get filename of the document being used as a template in an R Markdown document rendered as HTML, PowerPoint presentation or Word document. It requires packages rmarkdown >= 1.10.14 and knitr.

Usage

get_reference_value(format = NULL)

Arguments

format

document format, one of 'pptx', 'docx' or 'html'

Value

a name file

See Also

Other functions for officer extensions: docx_reference_img(), fortify_location(), opts_current_table(), to_pml(), to_wml(), wml_link_images()


officer

Manipulation of Microsoft Word and PowerPoint Documents

v0.3.18
GPL-3
Authors
David Gohel [aut, cre], Frank Hangler [ctb] (function body_replace_all_text), Liz Sander [ctb] (several documentation fixes), Anton Victorson [ctb] (fixes xml structures), Jon Calder [ctb] (update vignettes), John Harrold [ctb] (function annotate_base), John Muschelli [ctb] (google doc compatibility)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.