{
  "title": "Okay I just saw @xieyihui's post (https://t.co/8o8UUPVKDK) mentioning about knitr:::knit_code and it's occurred to me that I could do below without repeating the #ggplot codes so many times! Gist is now updated https://t.co/mXw8e7iGnf to reflect this! #rstats https://t.co/1XnWW7qN1Q",
  "date": "2018-09-21"
}

# blogdown

> **Dave Harris** (@davidjayharris; 10/0): This looks great. But I wonder how many of these RMarkdown-based systems (bookdown, blogdown, xaringan, radix) will be maintained 5-10 years from now. https://t.co/SscNY7pCaP  [&#8618;](https://twitter.com/xieyihui/status/1042530566812430338)

<!-- -->


> **R-Ladies Philly** (@RLadiesPhilly; 4/4): 👩‍💻 new post on the blog! check out our september meetup recap here: https://t.co/7HMi2y2e6S  thanks again @DrScranto for showing us how to make a website using #blogdown!  [&#8618;](https://twitter.com/xieyihui/status/1042565942075711491)

<!-- -->


> **Felipe Mattioni, MSc** (@felipe_mattioni; 4/0): I had some free time today, so I made myself a website with #blogdown #rstats https://t.co/5uxBrrLe7X  [&#8618;](https://twitter.com/xieyihui/status/1042774770201313280)

<!-- -->


> **kasiek** (@KKulma; 2/2): Finally managed to move ALL my #rstats posts to the new #blogdown blog! I feel sentimental looking at my old code and things I wouldn't do now (or would do differently) but I did a year or so ago! Learning is invisible without a reference point. https://t.co/JgFXMqI1Z5  [&#8618;](https://twitter.com/xieyihui/status/1042916369484918784)

<!-- -->


> **Sara Stoudt** (@sastoudt; 1/0): @KKulma It must be going around. I am at this moment also converting to #blogdown. 😆🥳  [&#8618;](https://twitter.com/xieyihui/status/1042920507161493504)

<!-- -->


> **Eclectikus** (@scienceisbeauty; 1/0): @batlander1 Echa un ojo aquí: https://t.co/EjcA5nihSn  [&#8618;](https://twitter.com/xieyihui/status/1042497385543421953)

<!-- -->


> **dubfrican** (@dubfrican; 0/0): Any good beginner #rstats blogdown tutorials out there? Please share thx  [&#8618;](https://twitter.com/xieyihui/status/1042886109640962048)

<!-- -->


> **Zorro Notorious M. E. B.** (@znmeb; 0/0): @DynamicWebPaige @distillpub @TensorFlow @rstudio I just buzzed through the docs - it looks like a nice layer over the base R Markdown. I've used Blogdown, Bookdown and Pkgdown as well as the plain R Markdown websites from version 1.  [&#8618;](https://twitter.com/xieyihui/status/1042668082441871360)

<!-- -->


> **Eclectikus** (@scienceisbeauty; 0/0): @batlander1 @GoHugoIO @jekyllrb @gatsbyjs En el manual que he enlazado antes se explica muy bien: https://t.co/jmyqUEk5RC  [&#8618;](https://twitter.com/xieyihui/status/1042504155527622658)

<!-- -->


> **Eclectikus** (@scienceisbeauty; 0/0): @batlander1 Nope, está pensado para crear webs y documentos técnicos, con Rmarkdown, LaTeX, citas y referencias automáticas (para que no se le olviden a los doctorandos) 😉. Tiene buena pinta, pero no veo nada que no se pueda hacer ya con blogdown + Hugo por ejemplo.  [&#8618;](https://twitter.com/xieyihui/status/1042486351118184454)

<!-- -->


> **Peter Smits** (@PeterDSmits; 0/0): i'm in the awkward place of wanting to migrate from straight #Hugo to #blogdown.
>
easy and hard.  [&#8618;](https://twitter.com/xieyihui/status/1042488775702507520)

<!-- -->


# bookdown

> **Mara Averick** (@dataandme; 17/4): 📕 neat #bookdown contest submission for collaboration…
📝 "{backyard} A Web App for Easier Bookdown Collaboration" by @_ColinFay
https://t.co/XBpHMLPfDb #rstats https://t.co/EQpYbWj70b  [&#8618;](https://twitter.com/xieyihui/status/1042458837406699520)

<!-- -->


> **Nicholas Tierney** (@nj_tierney; 14/1): For me, it would probably be:
>
1. You can globally control the figure type (png, jpeg) with knitr::opts_chunk$set(dev = "png")
2. You can reference figures/tables using `bookdown::pdf2`  [&#8618;](https://twitter.com/xieyihui/status/1042427275713507328)

<!-- -->


> **Dave Harris** (@davidjayharris; 10/0): This looks great. But I wonder how many of these RMarkdown-based systems (bookdown, blogdown, xaringan, radix) will be maintained 5-10 years from now. https://t.co/SscNY7pCaP  [&#8618;](https://twitter.com/xieyihui/status/1042530566812430338)

<!-- -->


> **Rob J Hyndman** (@robjhyndman; 8/0): @CMastication @ladbroke @hadleywickham In my view, bookdown changed everything. Hadley's books are important part of that (and I think some were around before bookdown). But a lot of credit should go to @xieyihui for making it much easier to follow this model.  [&#8618;](https://twitter.com/xieyihui/status/1042952646728937473)

<!-- -->


> **Linterna Verde** (@linterna; 7/1): Para quienes quieren iniciarse en R, el lenguaje de programación estadístico gratuito, les recomendamos este libro abierto de los profes Freddy Hernándenz de la @UNColombia y Cecilia Usuga de la @UdeA 👩🏽‍💻👨🏽‍🏫
https://t.co/O98l9idnm5  [&#8618;](https://twitter.com/xieyihui/status/1042536420546699264)

<!-- -->


> **Yihui Xie** (@xieyihui; 6/0): @robjhyndman @CMastication @ladbroke @hadleywickham And I'd like to thank @CRC_MathStats too. Starting from my second book with them (i.e. the 2016 bookdown book), all my later books followed this model, and I'll continue using this model in the future.  [&#8618;](https://twitter.com/xieyihui/status/1042971972660076550)

<!-- -->


> **Rob J Hyndman** (@robjhyndman; 6/0): @CMastication @ladbroke @hadleywickham My first attempt at a website with published book was about 5 years ago (before bookdown existed), although I had planned to do it for at least 5 years before that. Others were doing it before me. A very early example was David Evans' intro to computing (https://t.co/5wKrngSKws).  [&#8618;](https://twitter.com/xieyihui/status/1042947475269574657)

<!-- -->


> **Grant McDermott** (@grant_mcdermott; 3/1): @paulgp See here: https://t.co/3l20YwUBtE
>
There are a couple of features that are unique to each output class, but mostly they map really well across all cases. Also: If you use specify some YAML not available to that class, it should still render fine.  [&#8618;](https://twitter.com/xieyihui/status/1042620542577078272)

<!-- -->


> **Martin John Hadley** (@martinjhnhadley; 1/0): @nj_tierney Don’t put underscores in chunk names. It’ll fudge up references when you inevitably move to bookdown for longer form stuff 😭  [&#8618;](https://twitter.com/xieyihui/status/1042800431402049536)

<!-- -->


> **Zorro Notorious M. E. B.** (@znmeb; 1/0): @DynamicWebPaige @distillpub @TensorFlow I just saw this Radix thing go by - it looks like the Tufte HTML / PDF thing on steroids.  I might migrate to Radix from Bookdown.  [&#8618;](https://twitter.com/xieyihui/status/1042665254105243648)

<!-- -->


> **Wei Yang Tham** (@wytham88; 1/0): @paulgp If you decide to get more into html slides a lot of people like xaringan (https://t.co/IZeCA0HD3M), which is a lot easier to customize with the xaringanthemer package (https://t.co/k7aX2lgqoR)  [&#8618;](https://twitter.com/xieyihui/status/1042636749825105920)

<!-- -->


> **Eclectikus** (@scienceisbeauty; 1/0): @batlander1 Echa un ojo aquí: https://t.co/EjcA5nihSn  [&#8618;](https://twitter.com/xieyihui/status/1042497385543421953)

<!-- -->


> **Vicky Steeves (joinmastodon.org)** (@VickySteeves; 0/0): Any bookdown folks understand this error?
>
https://t.co/Dmt2jsM8dV  [&#8618;](https://twitter.com/xieyihui/status/1042893494786908160)

<!-- -->


> **Theresa Elise Wege** (@TheresaWege; 0/0): @nj_tierney @R4DScommunity # header {.tabset} turns all subheadings into tabs when rendering to html. Looks crisp! 
https://t.co/RG5Aki73Sd https://t.co/9pSWnRRko2  [&#8618;](https://twitter.com/xieyihui/status/1042835465286627328)

<!-- -->


> **KouYuanYuan** (@KouYuanYuan; 0/0): Bookdown contest submission: an R bookdown template for traditional mails https://t.co/IwKCSbZHhi https://t.co/mWOMXhP9RS  [&#8618;](https://twitter.com/xieyihui/status/1042765461274845184)

<!-- -->


> **Zorro Notorious M. E. B.** (@znmeb; 0/0): @DynamicWebPaige @distillpub @TensorFlow @rstudio I just buzzed through the docs - it looks like a nice layer over the base R Markdown. I've used Blogdown, Bookdown and Pkgdown as well as the plain R Markdown websites from version 1.  [&#8618;](https://twitter.com/xieyihui/status/1042668082441871360)

<!-- -->


> **BESO** (@khaledbasuany; 0/0): @KhloodRawag https://t.co/PYoO9VFIDqتحميل-كتاب-الزهد-والرقائق.html
دا كتاب من مؤلفاته ،،،،  [&#8618;](https://twitter.com/xieyihui/status/1042594559795122178)

<!-- -->


> **Eclectikus** (@scienceisbeauty; 0/0): @batlander1 @GoHugoIO @jekyllrb @gatsbyjs En el manual que he enlazado antes se explica muy bien: https://t.co/jmyqUEk5RC  [&#8618;](https://twitter.com/xieyihui/status/1042504155527622658)

<!-- -->


> **Eclectikus** (@scienceisbeauty; 0/0): An alternative to bookdown, cool, will give a try. https://t.co/oFMAqSP55M  [&#8618;](https://twitter.com/xieyihui/status/1042473707032268800)

<!-- -->


# knitr

> **Emi Tanaka 🌾** (@statsgen; 22/3): Okay I just saw @xieyihui's post (https://t.co/8o8UUPVKDK) mentioning about knitr:::knit_code and it's occurred to me that I could do below without repeating the #ggplot codes so many times! Gist is now updated https://t.co/mXw8e7iGnf to reflect this! #rstats https://t.co/1XnWW7qN1Q  [&#8618;](https://twitter.com/xieyihui/status/1042697403281756161)

<!-- -->


> **Alison Hill** (@apreshill; 16/0): "The sky is your limit when you can program something*"
>
* "Practically, your toddler’s mood is your limit. The sky doesn’t matter at all."
>
Truth from @xieyihui (+ knitr tricks from @alexpghayes and @LucyStats) https://t.co/KLgpKgY0F9  [&#8618;](https://twitter.com/xieyihui/status/1042413471717974016)

<!-- -->


> **Paula Andrea** (@orchid00; 15/0): @nj_tierney You can save images in a folder with knitr::opts_chunk$set(fig.path = "../figs/", fig.width = 11) also I learned quite late to add captions 
 knitr::kable(caption = "Table 1...")  [&#8618;](https://twitter.com/xieyihui/status/1042483229503238144)

<!-- -->


> **Nicholas Tierney** (@nj_tierney; 14/1): For me, it would probably be:
>
1. You can globally control the figure type (png, jpeg) with knitr::opts_chunk$set(dev = "png")
2. You can reference figures/tables using `bookdown::pdf2`  [&#8618;](https://twitter.com/xieyihui/status/1042427275713507328)

<!-- -->


> **Momeneh Foroutan** (@S_Foroutan; 12/1): Caitlin automates her reports using #Knitr and #rmarkdown @RLadiesMelb she is super excited about the fact that this is very easy to generate high quality documents in R. https://t.co/o1libFo2Qp  [&#8618;](https://twitter.com/xieyihui/status/1042330678539386880)

<!-- -->


> **Konrad has read, understood and** (@klmr; 5/0): @nj_tierney It also runs on bare .r files rather than .rmd files (via knitr::spin→‹tempfile›→rmarkdown::render). Not as “cute” as the usual RMarkdown workflow but way more useful in practice.  [&#8618;](https://twitter.com/xieyihui/status/1042430824434597888)

<!-- -->


> **Romain Lesur** (@RLesur; 4/0): @nj_tierney Think twice before inserting raw html/latex in your Rmd file: your boss will always want another format. Read carefully the pandoc documentation (markdown is powerful) and learn knitr::is_html_output, is_latex_output  [&#8618;](https://twitter.com/xieyihui/status/1042749158237581312)

<!-- -->


> **Yihui Xie** (@xieyihui; 3/0): @statsgen Mind, Blown, Again! This is a so very creative use of knitr:::knit_code! I think you don't have to share the raw link now (since you indented the content): https://t.co/WdPRmBOJCw  [&#8618;](https://twitter.com/xieyihui/status/1042788273196859392)

<!-- -->


> **Ari Lamstein** (@AriLamstein; 2/1): Hey #rstats - I am trying to go from rmarkdown to pdf. The problem is that I have a *huge* table which knitr is cropping instead of handling nicely (i.e. cutting into multiple lines / pages). Any ideas?  [&#8618;](https://twitter.com/xieyihui/status/1042458941299425280)

<!-- -->


> **Toilet Strongman** (@shabbychef; 1/0): always doing this now:
sal &lt;- dplyr::select
kbl &lt;- knitr::kable  [&#8618;](https://twitter.com/xieyihui/status/1042626307241127936)

<!-- -->


> **pezholio_ebooks** (@pezholio_ebooks; 0/0): Round Table are Right. Knitr too Spot on  [&#8618;](https://twitter.com/xieyihui/status/1042966875058184192)

<!-- -->


> **Emi Tanaka 🌾** (@statsgen; 0/0): @xieyihui Yes you are right. I indented later to embed it in my post here: https://t.co/VKVM2Xpgzi
I'm quite excited to find out about knitr:::knit_code! I'll try not to be up to no good &gt;:D  [&#8618;](https://twitter.com/xieyihui/status/1042903972518944768)

<!-- -->


> **Vincent Nijs** (@vrnijs; 0/0): @rudeboybert The following also works in Rmarkdown:
>
&lt;https://t.co/P9uAaPoZwy&gt;{target="_blank"}
>
It doesn't seem to work with knitr (1.20) however. @xieyihui Is there a chance this feature could be added to knitr as well?  [&#8618;](https://twitter.com/xieyihui/status/1042577482119995392)

<!-- -->


> **Eclectikus** (@scienceisbeauty; 0/0): @batlander1 No exactamente, presento informes en PDF (RMarkdown + Knitr), pero llevo unos meses flipando con los sitios estáticos (fiabilidad + seguridad + velocidad + adaptativos) y estoy barruntando en montar algo con esas herramientas, específicamente con @GoHugoIO, @jekyllrb o @gatsbyjs  [&#8618;](https://twitter.com/xieyihui/status/1042502394934906880)

<!-- -->


> **Yasaku** (@__skys__; 0/0): knitr の cache がわからない…。また明日…。  [&#8618;](https://twitter.com/xieyihui/status/1042415610141892610)

<!-- -->


# xaringan

> **Dave Harris** (@davidjayharris; 10/0): This looks great. But I wonder how many of these RMarkdown-based systems (bookdown, blogdown, xaringan, radix) will be maintained 5-10 years from now. https://t.co/SscNY7pCaP  [&#8618;](https://twitter.com/xieyihui/status/1042530566812430338)

<!-- -->


> **Grant McDermott** (@grant_mcdermott; 4/0): @shoshievass @paulgp PS. Two slick and highly customizable formats that you might want to try: xaringan (https://t.co/uVU90F7QcH) and shower (https://t.co/I9ApZGpcul)  [&#8618;](https://twitter.com/xieyihui/status/1042633144300519424)

<!-- -->


> **Shravan Vasishth** (@shravanvasishth; 2/0): @FrederikAust @JeffRouder @JuliaHaaf cool. nice use of xaringan too. much better than slideshare.  [&#8618;](https://twitter.com/xieyihui/status/1042646762194956289)

<!-- -->


> **Matt Crump** (@MattCrump_; 2/0): R Markdown + xaringan for slides + Shiny + fiddling a bit with iframes = interactive stuff in a web-based slide deck. Hopefully runs smooth next class. Beats jumping in and out of a presentation to use Shiny apps. 
#rstats  [&#8618;](https://twitter.com/xieyihui/status/1042400346348367873)

<!-- -->


> **Didzis Elferts** (@delferts; 1/0): Nolēmu, ka jāizmēģina R xaringan pakete (https://t.co/MeQ8HI5Pdy) R prezentāciju veidošanai. Secinājums: beidzot jāķeras klāt saturam, jo izskata maiņas iespējas varētu vēl mēģināt dienām.  [&#8618;](https://twitter.com/xieyihui/status/1042684520003186688)

<!-- -->


> **Wei Yang Tham** (@wytham88; 1/0): @paulgp If you decide to get more into html slides a lot of people like xaringan (https://t.co/IZeCA0HD3M), which is a lot easier to customize with the xaringanthemer package (https://t.co/k7aX2lgqoR)  [&#8618;](https://twitter.com/xieyihui/status/1042636749825105920)

<!-- -->


# yihui.name

> **Emi Tanaka 🌾** (@statsgen; 22/3): Okay I just saw @xieyihui's post (https://t.co/8o8UUPVKDK) mentioning about knitr:::knit_code and it's occurred to me that I could do below without repeating the #ggplot codes so many times! Gist is now updated https://t.co/mXw8e7iGnf to reflect this! #rstats https://t.co/1XnWW7qN1Q  [&#8618;](https://twitter.com/xieyihui/status/1042697403281756161)

<!-- -->


> **R Weekly Live** (@rweekly_live; 12/0): How to Put All Your Code in the Appendix in R Markdown @xieyihui #rstats #datascience https://t.co/P7EVccdnzi  [&#8618;](https://twitter.com/xieyihui/status/1042411945381384192)

<!-- -->


> **Colin Fay 🤘** (@_ColinFay; 7/0): #RStats — Serving a Website or Shiny App at 0.0.0.0
>
https://t.co/GM5alADKyu  [&#8618;](https://twitter.com/xieyihui/status/1042379067947921411)

<!-- -->


> **Comet.ml** (@Cometml; 0/0): @joelgrus is now famous for his "I Don't Like Notebooks" talk at JupyterCon, but what about R users?
>
Yihui Xie (@xieyihui), a software engineer at @rstudio provides more context for those working with R Markdown and her own reflections using IDEs/tools
>
https://t.co/VzLT7qs6jw  [&#8618;](https://twitter.com/xieyihui/status/1042813353205350401)

<!-- -->


> **Armand Gilles** (@arm_gilles; 0/0): Great post about Notebook War (from @joelgrus) rather agree with these arguments
>
https://t.co/Wc8P45EDr1  [&#8618;](https://twitter.com/xieyihui/status/1042760456161689600)

<!-- -->


> **نور سعيد الشاخوري** (@nouralshakhouri; 0/0): Serving a Website or Shiny App at 0.0.0.0: https://t.co/lyhpbElEKe  [&#8618;](https://twitter.com/xieyihui/status/1042308416289599488)

<!-- -->


> **Recle Etino Vibal** (@recleev; 0/0): Forgot to include the link to the post discussing the code in appendix. Also realized this is much more useful for pdf outputs https://t.co/ygQKbmeOuO  [&#8618;](https://twitter.com/xieyihui/status/1042251961498656769)

<!-- -->


