-
Notifications
You must be signed in to change notification settings - Fork 111
/
Copy pathREADME.Rmd
65 lines (43 loc) · 2.35 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# tufte
<!-- badges: start -->
[](https://CRAN.R-project.org/package=tufte)
[](https://cran.r-project.org/package=tufte)
[](https://github.com/rstudio/tufte/actions/workflows/R-CMD-check.yaml)
[](https://app.codecov.io/gh/rstudio/tufte?branch=main)
<!-- badges: end -->
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
<a href="https://bookdown.org/yihui/rmarkdown/tufte-handouts.html"><img src="https://bookdown.org/yihui/rmarkdown/images/cover.png" alt="R Markdown: The Definitive Guide" class="book" height="400"/></a>
See about the Tufte Handouts format in R Markdown Definitive Guide
## Installation
You can install the last available released version from [CRAN](https://cran.r-project.org/package=tufte)
``` r
install.packages('tufte')
```
You can also install the development version of **tufte** from [GitHub](https://github.com/) with:
``` r
# 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
```r
rmarkdown::draft("tufte.Rmd", "tufte_html", "tufte")
```
## Getting help
There are two main places to get help:
1. The [RStudio community](https://community.rstudio.com/c/r-markdown/10) is a friendly place to ask any questions about rmarkdown and the R Markdown family of packages. Use tag **tufte** in your post.
1. [Stack Overflow](https://stackoverflow.com/questions/tagged/r-markdown+tufte) 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.