Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Setup chunk test
---
title: "setup test"
output: html_document
---
```{r setup}
library(dplyr)
print("Hello")
```
## Setup chunk test
This is an R Markdown document.
Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents.
For more details on using R Markdown see <http://rmarkdown.rstudio.com>.
[In theory](https://twitter.com/PhilippBayer/status/1272774062733791233?s=20)
you should be able to run the chunk below without manually running the `setup` chunk above first.
RStudio should run the `setup` chunk automatically for you.
```{r test}
tibble(a = 1:3)
print("Hello again")
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.