docket: Insert R Data into 'Word' Documents

Jonathan Conrad · 2023

Populate data from an R environment into '.doc' and '.docx' templates. Create a template document in a program such as 'Word', and add strings encased in guillemet characters to create flags («example»). Use getDictionary() to create a dictionary of flags and replacement values, then call docket() to generate a populated document.

Read the paper · More papers on PaperTik