knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(hiRx)
RStudio uses the bookdown
to render Word documents.
The developers of bookdown
decided that the most effective way to manage styling for Word documents was for the user to create a reference document with customized styles.
This document is an Rmarkdown progenitor for just such a style reference document.
ggplot2::ggplot() + ggplot2::geom_text(ggplot2::aes(x = 1, y = 1, label = "Hello, World")) + ggplot2::theme_void() + ggplot2::theme(text = ggplot2::element_text(family = "Myriad Pro"))
A table
knitr::kable(tibble::tribble( ~ Foo, ~ Bar, ~ Baz, 1, "a", TRUE, 2, "b", FALSE, 3, "c", NA ))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.