{
  "title": "“The First Notebook War” @xieyihui reflects on the recent notebook discussions. Helpful post, because it teases out different pieces: human behaviour vs. project objectives vs. tooling, etc. https://t.co/h3oWaejWtK",
  "date": "2018-09-11"
}

# blogdown

> **Mara Averick** (@dataandme; 1/0): @d_olivaw @_lacion_ You should add your twitter to your blogdown! That way you can get all the cred! 💯  [&#8618;](https://twitter.com/xieyihui/status/1039158151151603712)

<!-- -->


# bookdown

> **kigen** (@kigtembu; 11/4): #week24 #Tidytuesday @R4DScommunity #rstats #rspatial You will never fear plotting maps once you read the geocomputation book on https://t.co/vroJjOAwwy Population of pets in the US. code available here: https://t.co/ix6mV0Jjzn https://t.co/wluiFIHEE8  [&#8618;](https://twitter.com/xieyihui/status/1039248718212546561)

<!-- -->


> **Yihui Xie** (@xieyihui; 11/0): @SuzanBaert Glad you found it! For the record, this is documented in Section 7.3.2 of the R Markdown book: https://t.co/afR7a8VEdg  [&#8618;](https://twitter.com/xieyihui/status/1038997124740993024)

<!-- -->


> **KouYuanYuan** (@KouYuanYuan; 0/0): Bookdown contest submission: an R bookdown template for theses of Peking University https://t.co/UMwVOO702Q https://t.co/fOYyULTufl  [&#8618;](https://twitter.com/xieyihui/status/1039151272132149260)

<!-- -->


> **tj mahr 🍕🍍** (@tjmahr; 0/0): @CMastication If it saves time or if I can generalize the code and reuse it elsewhere. My most recent project was a bookdown book so the helper scripts mostly enforced consistency over chapters (like plotting themes) or did time consuming stuff.  [&#8618;](https://twitter.com/xieyihui/status/1039120206210183169)

<!-- -->


# knitr

> **𝓛𝓾𝓬𝔂::postdoc🌻** (@LucyStats; 11/1): @alexpghayes 🙌 I've also used `ref.label=knitr::all_labels()`, like:
>
{r all-code, ref.label=knitr::all_labels(), echo = TRUE, eval = FALSE}  [&#8618;](https://twitter.com/xieyihui/status/1039178545715662848)

<!-- -->


> **Daneel Olivaw** (@d_olivaw; 1/0): @tjmahr I'm thinking if a custom knitr hook could add this to your plots if you set something like draft = TRUE on your chunks 🤔  [&#8618;](https://twitter.com/xieyihui/status/1039240652263960576)

<!-- -->


> **Jamie Lendrum** (@jamie_lendrum; 0/0): @lpvera22 @rstatstweet You can use the knitr::kable() function, but you can also do in raw markdown using hyphens...do a Google search for rmarkdown cheat sheet.  [&#8618;](https://twitter.com/xieyihui/status/1039248856825962496)

<!-- -->


> **Mike K Smith** (@MikeKSmith; 0/0): Maybe simpler:
\`\`\`{r, ref.label=knitr::all_labels(),echo=TRUE,eval=FALSE}
\`\`\` https://t.co/Ztc1TfRfND  [&#8618;](https://twitter.com/xieyihui/status/1039224777137971200)

<!-- -->


> **Matt Crump** (@MattCrump_; 0/0): @sharoz @OSFramework Also .md approach requires you save your figures to a folder. Here's an example, https://t.co/yUbriqpjCB
>
Check out "Nick_s_Analysis.md", it should render the code and figures in github. Check out "Nick_s_Analysis.Rmd" for yaml and knitr setup to output md and figures  [&#8618;](https://twitter.com/xieyihui/status/1039120006435495936)

<!-- -->


> **David A Knowles** (@david_a_knowles; 0/0): @charlesjtinant @invertenerd I've had decent luck using pandoc --mathml, any idea how these compare? (knitr may be using pandoc under the hood in which case may be equivalent)  [&#8618;](https://twitter.com/xieyihui/status/1038998745990541312)

<!-- -->


# xaringan

> **Yihui Xie** (@xieyihui; 11/0): @SuzanBaert Glad you found it! For the record, this is documented in Section 7.3.2 of the R Markdown book: https://t.co/afR7a8VEdg  [&#8618;](https://twitter.com/xieyihui/status/1038997124740993024)

<!-- -->


# yihui.name

> **Jenny Bryan** (@JennyBryan; 78/36): “The First Notebook War”
@xieyihui reflects on the recent notebook discussions. Helpful post, because it teases out different pieces: human behaviour vs. project objectives vs. tooling, etc. https://t.co/h3oWaejWtK  [&#8618;](https://twitter.com/xieyihui/status/1039266789547335680)

<!-- -->


> **Dr. Alison Hill** (@apreshill; 6/2): Reading @xieyihui's blog post "The First Notebook War"- did NOT know about "parent" + "child" #rmarkdown docs. I have always used `source` w/ .R scripts- not sure if this is a superpower or a super-bad idea for me! https://t.co/BN0ilc74FJ 🤱#rstats https://t.co/AyzVZQSTCG  [&#8618;](https://twitter.com/xieyihui/status/1039342018822950912)

<!-- -->


> **Hiroaki Yutani** (@yutannihilation; 1/1): The First Notebook War https://t.co/9RrdTdE7ZO JupyterConで「I Don't Like Notebooks」という発表があったらしい。尖ってるな。  [&#8618;](https://twitter.com/xieyihui/status/1039345326233202689)

<!-- -->


> **Data Science PY** (@Data_Science_PY; 0/0): The First Notebook War
by @xieyihui
#DataScience #Jupyter #RMarkdown #notebook
https://t.co/0erCyMlJat  [&#8618;](https://twitter.com/xieyihui/status/1039326087405363200)

<!-- -->


> **Gregory Primosch** (@GPrimosch; 0/0): Notebooks by themselves exacerbate the reproducibility crisis; Aginity Amp helps by clearly defining inputs and outputs, and integrating them with an execution engine to ensure that data is processed consistently. https://t.co/vSJ3hEDn7T  [&#8618;](https://twitter.com/xieyihui/status/1039318887546986496)

<!-- -->


> **Daniel Klotz** (@ido87; 0/0): https://t.co/yyeiVYZZv1  [&#8618;](https://twitter.com/xieyihui/status/1039289232924307456)

<!-- -->


