Once the package is installed, you may use the output format :
You can convert the Word document generated by to Rmd via the function redoc::dedoc()
, e.g., redoc::dedoc("file.docx")
will generate file.Rmd
. In this process, you can decide how to deal with tracked changes in Word via the track_changes
argument, e.g., you may accept or reject changes, or convert tracked changes to CriticMarkup. We recommend that you use to avoid the permanent loss of tracked changes.
Again, the redoc package is still experimental and its future is unclear at the moment, so the introduction here is intentionally brief. When in doubt, we recommend that you read its documentation on GitHub.