Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. R
  3. redoc

redoc

NOASSERTIONR

An R package for two-way R Markdown to Microsoft Word conversion, enabling reversible documents that retain edits and tracked changes.

Visit WebsiteGitHubGitHub
536 stars48 forks0 contributors

What is redoc?

redoc is an R package that enables a reversible, two-way workflow between R Markdown and Microsoft Word documents. It solves the problem of maintaining reproducibility in R Markdown while allowing collaborative editing in Word by generating Word documents that can be de-rendered back to R Markdown, retaining all edits and tracked changes.

Target Audience

R users, data scientists, and researchers who need to collaborate with non-technical stakeholders using Microsoft Word while maintaining reproducible R Markdown workflows.

Value Proposition

Developers choose redoc because it uniquely preserves edits and tracked changes when round-tripping between R Markdown and Word, unlike standard one-way conversion tools. It bridges the gap between reproducible research and real-world collaborative editing.

Overview

Reversible Reproducible Documents

Use Cases

Best For

  • Collaborative academic paper writing with R Markdown and Word
  • Maintaining reproducibility when stakeholders require Word edits
  • Converting Word documents with tracked changes back to R Markdown
  • Visualizing differences between original and edited R Markdown files
  • Integrating R Markdown workflows with RStudio for Word round-tripping
  • Preserving Critic Markup edits when generating Word documents

Not Ideal For

  • Production environments requiring stable, unchanging APIs for document generation.
  • Teams collaborating with stakeholders using word processors other than Microsoft Word (e.g., Google Docs, LibreOffice).
  • Projects that only need one-way conversion from R Markdown to Word without round-tripping edits.

Pros & Cons

Pros

Reversible Document Flow

Enables two-way conversion between R Markdown and Word, preserving all edits and tracked changes, as demonstrated by the dedoc() function that retrieves original .Rmd files.

Seamless Tracked Changes

Automatically converts Critic Markup to Word tracked changes and vice versa, supporting collaborative editing workflows without manual intervention.

RStudio Integration

Provides addins for rendering, updating, and de-rendering documents directly within RStudio, streamlining the workflow for developers.

Visual Diff Tools

Includes redoc_diff() function to visually compare changes between original and de-rendered R Markdown files, aiding in version control.

Cons

Alpha-Stage Instability

The project is explicitly labeled as alpha with core engine and API subject to change, making it unreliable for production use, as noted in the README.

Microsoft Word Dependency

Only supports Microsoft Word, requiring specific software and Pandoc versions (>=2.1.2), limiting cross-platform compatibility and flexibility.

Limited Formatting Control

Built on basic rmarkdown::word_document(), which may not support advanced Word styling compared to alternatives like officedown, as mentioned in the related work section.

Frequently Asked Questions

Quick Stats

Stars536
Forks48
Contributors0
Open Issues46
Last commit7 months ago
CreatedSince 2018

Tags

#collaborative-editing#r-package#workflow-automation#microsoft-word#reproducible-research#pandoc#document-conversion#r-markdown

Built With

P
Pandoc
R
R

Links & Resources

Website

Included in

R6.4k
Auto-fetched 12 hours ago

Related Projects

knitr <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20">knitr <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20">

A general-purpose tool for dynamic report generation in R

Stars2,452
Forks879
Last commit23 days ago
tinytextinytex

A lightweight, cross-platform, portable, and easy-to-maintain LaTeX distribution based on TeX Live

Stars1,121
Forks125
Last commit16 days ago
slidify <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20">slidify <img class="emoji" alt="heart" src="https://cdn.jsdelivr.net/gh/qinwf/awesome-R@3c66da6e291bcc0520b1649125b0bed750896a9a/heart.png" height="20" align="absmiddle" width="20">

Generate reproducible html5 slides from R markdown

Stars840
Forks334
Last commit9 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub