renderInlineCode {WordR} | R Documentation |
Read Word document with R code blocks, evaluate them and writes the result into another Word document.
Description
Read Word document with R code blocks, evaluate them and writes the result into another Word document.
Usage
renderInlineCode(docxIn, docxOut, debug = F)
Arguments
docxIn |
String of length one; path to Word file with bookmarks OR officer::rdocx object |
docxOut |
String of length one; path for output Word file or NA |
debug |
Boolean of length one; If |
Value
Path to the rendered Word file if the operation was successfull OR officer::rdocx object if docxOut is NA
Examples
renderInlineCode(
paste(examplePath(),'templates/template1.docx',sep = ''),
paste(tempdir(),'/result1.docx',sep = ''))
[Package WordR version 0.3.6 Index]