Reversible R Markdown Document

This is an example Reversible R Markdown document. It will preserve code elements for restoration in your final .docx file.

You can use things like inline comments.

You can use code chunks to generate output and they will be restored:

summary(cars)

Inline text

# A non-included chunk to provide inline chunks with values.
a <- 2
b <- 3

You can include calculations inline like so: r a plus r b equals r a + b. Even empty inline chunks r NULL will be stored and marked with hidden text in the Word document.

Chunks with plots

You can of course also embed plots, for example:

plot(pressure)

Additional YAML blocks can be added and will be restored

hello: there



noamross/redoc documentation built on Aug. 7, 2022, 7:22 a.m.