docx_update | R Documentation |
Update all fields and table of contents of a Word document using "Microsoft Word". This function will not work if "Microsoft Word" is not available on your machine.
The calls to "Microsoft Word" are made differently depending on the operating system. On "Windows", a "PowerShell" script using COM technology is used to control "Microsoft Word". On macOS, an "AppleScript" script is used to control "Microsoft Word".
docx_update(input)
input |
file input |
the name of the produced pdf (the same value as output
)
library(locatexec) if (exec_available('word')) { file <- system.file(package = "doconv", "doc-examples/example.docx") docx_out <- tempfile(fileext = ".docx") file.copy(file, docx_out) docx_update(input = docx_out) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.