Skip to content

rstudio/tufte

Repository files navigation

tufte

CRAN status Downloads from the RStudio CRAN mirror R-CMD-check Codecov test coverage

This R package provides a few R Markdown output formats that use the Tufte style. See https://rstudio.github.io/tufte/ for a comprehensive example.

Books

R Markdown: The Definitive Guide

See about the Tufte Handouts format in R Markdown Definitive Guide

Installation

You can install the last available released version from CRAN

install.packages('tufte')

You can also install the development version of tufte from GitHub with:

# install.packages("pak")
pak::pak("rstudio/tufte")

Usage

The easiest way to make a new R Markdown document using Tufte style is from within RStudio. Go to File > New File > R Markdown > From template > Tufte Handout.

This can also be created from the command line using

rmarkdown::draft("tufte.Rmd", "tufte_html", "tufte")

Getting help

There are two main places to get help:

  1. The RStudio community is a friendly place to ask any questions about rmarkdown and the R Markdown family of packages. Use tag tufte in your post.

  2. Stack Overflow is a great source of answers to common rmarkdown questions. It is also a great place to get help, once you have created a reproducible example that illustrates your problem.