{
  "title": "NEW POST: Reorder categories when facetting with ggplot2 #rstats https://t.co/Qne1sgtRhK https://t.co/gAkijh2C98",
  "date": "2019-07-03"
}

# #rstats

> **Julia Silge** (@juliasilge; 882/187): NEW POST: Reorder categories when facetting with ggplot2 #rstats
> >
> https://t.co/Qne1sgtRhK https://t.co/gAkijh2C98  [&#8618;](https://twitter.com/xieyihui/status/1145602792079314944)

<!-- -->


> **Kirk Borne** (@KirkDBorne; 335/161): One of my all-time favorites &gt;&gt; The Most Complete List of the Best Cheat Sheets for #DataScientists covering #AI #NeuralNetworks #MachineLearning #DeepLearning #BigData #DataScience #DataViz #Python #Rstats #Coding etc.
> ——————
> 👇👇
> https://t.co/r8WpZ0NDgS https://t.co/3JH7X5F59I  [&#8618;](https://twitter.com/xieyihui/status/1145809646265020416)

<!-- -->


> **RStudio** (@rstudio; 294/111): Tour through the #tidyverse, Part 1 of many
> The tidyverse is an opinionated collection of R packages designed for data science. All packages share an underlying philosophy and common APIs.
> https://t.co/kSA73WitrG
> >
> #rstats #DataScience https://t.co/hhFi5B8CZq  [&#8618;](https://twitter.com/xieyihui/status/1145592633823244289)

<!-- -->


> **Gina Reynolds** (@EvaMaeRey; 225/54): A minimal Galton Board build \w #rstats #gganimate #tidyr #dplyr!  https://t.co/TRUdSpPdf0 Step-by-step presentation in #xaringan + reveal functions.  😊😊😊 https://t.co/RlisDRQgD8  [&#8618;](https://twitter.com/xieyihui/status/1145631100456378368)

<!-- -->


> **RStudio** (@rstudio; 196/60): forcats - Helper for reordering factor levels (including moving specified levels to front, ordering by first appearance, reversing, &amp; randomly shuffling), &amp; tools for modifying factor levels.
> https://t.co/TdD8BRCKfY
> Cheatsheet https://t.co/Bgd8lcbiPy
> >
> Tour the #tidyverse 
> #rstats https://t.co/wk7KRjvLlP  [&#8618;](https://twitter.com/xieyihui/status/1145955272923451392)

<!-- -->


> **Kelly Bodwin** (@KellyBodwin; 193/15): &gt; stay up all night reading/writing about tidy eval
> &gt; drive to work
> &gt; this is, zero edits, what the sky looks like
> >
> Either I have finally lost my last marble, or the Universe is an #rstats user. https://t.co/TSYM5MSSNh  [&#8618;](https://twitter.com/xieyihui/status/1146106792172064769)

<!-- -->


> **Eiko Fried** (@EikoFried; 180/44): Thanks @alistair604 for pointing me towards ggdag, an incredibly powerful tool to visualize graphs in #rstats. 
> >
> Just look at this: So little code, so much amaze!! @lindanab1 @SachaEpskamp @MaartenvSmeden 
> >
> https://t.co/PLjKzr0DU5 https://t.co/sIRzXo5Spt  [&#8618;](https://twitter.com/xieyihui/status/1146141604014465024)

<!-- -->


> **Nick HK** (@nickchk; 172/49): Hey! I've got a new 📦#rstats package📦, called "Panel Maneuvers in dplyr" or pmdplyr, install with devtools::install_github('NickCH-K/pmdplyr')
> >
> pmdplyr is a set of tools for the cleaning, preparation, and manipulation of panel and hierarchical data. Description follows...  [&#8618;](https://twitter.com/xieyihui/status/1145731567945338880)

<!-- -->


# blogdown

> **Alison Hill** (@apreshill; 31/4): 🥳 #blogdown news- thanks to @xieyihui, the dev version now searches for the minimum Hugo version required by your @GoHugoIO theme, + automatically updates if needed when you run blogdown::new_site()
> >
> 👉🏾 remotes::install_github('rstudio/blogdown')
> >
> https://t.co/2xqSi5wCZ7 https://t.co/lzr5nEzUvi  [&#8618;](https://twitter.com/xieyihui/status/1143989188007563264)

<!-- -->


> **Alison Hill** (@apreshill; 23/4): The beauty of #blogdown + @github + @Netlify, from @Mayacelium
> >
> @rstudio interns living their best data science lives 🏝️🤣😂
> >
> (see training materials here: https://t.co/I3MuTTpGSu) https://t.co/tC5WsBcCMt  [&#8618;](https://twitter.com/xieyihui/status/1143965342303019008)

<!-- -->


> **Ariel Muldoon** (@aosmith16; 20/5): Ooo, just discovered #knitr all_labels() to extract all chunk names and chunk option ref.label to put previous chunk code in a new chunk. 🤯 Just what I needed to combine all code in a #blogdown post in one chunk at the end for easy copying. #rstats  [&#8618;](https://twitter.com/xieyihui/status/1144669579630669829)

<!-- -->


> **Jeff Hollister** (@jhollist; 17/2): Looking for some guidance on how to use an #rstats #blogdown site with non-technical users contributing to the site.  I want to manage a site with blogdown, but have others with zero coding, github, etc. experience be able to contribute Anyone have experience with this/ideas?  [&#8618;](https://twitter.com/xieyihui/status/1145123680839770113)

<!-- -->


> **Alison Hill** (@apreshill; 16/1): @jhollist If no R code needs to be run, you can do blogdown/Hugo entirely with markdown files for all the content on GitHub- then hook it up to Netlify to build with every push. The nice thing is to have branch deploys and pull request deploy previews, and of course Hugo themes.  [&#8618;](https://twitter.com/xieyihui/status/1145144351124676608)

<!-- -->


> **Sven De Maeyer** (@svawa; 12/1): After some playing around in @rstudio Finally launched my new personal academic website with #blogdown. Curious? Check out on https://t.co/JzPGyuW0Ku
> Time to share publications, talks and projects and write some blogs on analyses...  [&#8618;](https://twitter.com/xieyihui/status/1146307292956102656)

<!-- -->


> **Sean Davis** (@seandavis12; 9/1): FWIW, I added parallel building (build multiple Rmd pages simultaneously) to @xieyihui great blogdown package. Leverages #BiocParallel to use all cores. It works for me, but I make no guarantees....
> https://t.co/QwUGY8uUlL  [&#8618;](https://twitter.com/xieyihui/status/1144304262975021058)

<!-- -->


> **alex hayes** (@alexpghayes; 8/6): #rstats twitter: @karlrohe is looking for someone with blogdown experience to turn the Murmation Project (https://t.co/IHjZ1CrmkJ) from a proof of concept into a professional website!
> >
> we have grant money that is about to evaporate so please email me ASAP!  [&#8618;](https://twitter.com/xieyihui/status/1144647679529631749)

<!-- -->


> **Artjom Shelya** (@artjomshl; 8/3): Dear twitter, I'm considering to make a static website with some materials from my R + literature course and I need an advice. What would you suggest to use to go from Rmarkdown -&gt; Web? blogdown + Hugo? Gitpages? Something else? #rstats #rmarkdown #blogdown  [&#8618;](https://twitter.com/xieyihui/status/1145632831009382400)

<!-- -->


> **Regina Galambos** (@mediasittich; 7/2): Day1 #100DaysOfCode 👩🏾‍💻
> >
> Started practice project mini blog with @djangoproject on 
> @MozDevNet 
> Reviewed CRUD principles 
> Learned how to set up a markdown blog in @rstudio with #blogdown 
> 🤓😊
> Log: https://t.co/k1mvTXWjTS  [&#8618;](https://twitter.com/xieyihui/status/1145455788472844288)

<!-- -->


> **Pablo Herrera** (@pherreraariza; 6/1): Finalmente ya tengo mi aplicación para descargar y ver el cierre del P48 cada día. Ahora tengo que acordarme cómo publicar un post con R y blogdown.  [&#8618;](https://twitter.com/xieyihui/status/1146122725158789121)

<!-- -->


> **Mikkel M Andersen** (@mikldk; 6/1): Symbolic math (and LaTeX output) in R #rstats with #Ryacas (based on #yacas) is getting a major update! Read about it at https://t.co/hk9LPdJ2b7 (new blog made with #blogdown). Please give your feedback!  [&#8618;](https://twitter.com/xieyihui/status/1144147954514706432)

<!-- -->


> **Alison Hill** (@apreshill; 6/0): @sharlagelfand @abtran I have also happily used this trick as well on my blogdown site: https://t.co/YyOs471lLs  [&#8618;](https://twitter.com/xieyihui/status/1144674592125886464)

<!-- -->


> **Greg Wilson** (@gvwilson; 5/0): addendum: blogdown + github + netlify + some pretty excellent training from @apreshill https://t.co/CJx9xk9NJN  [&#8618;](https://twitter.com/xieyihui/status/1143967169752924160)

<!-- -->


> **Erika Jacobs** (@ErikaTheOutlier; 4/3): I set up and themed a personal website using #blogdown in @rstudio, and wrote a streamlined tutorial with baby steps on how to do it! #rstats #rmarkdown https://t.co/VPX0hjd9hZ  [&#8618;](https://twitter.com/xieyihui/status/1146417237403693057)

<!-- -->


> **Joyce Cahoon** (@joyceisms; 4/1): @apreshill @rushadFaridi @Mayacelium *highly* recommend alison's https://t.co/F6dKKlzmGV series! made a shortened version for a @RLadiesRTP workshop tmr https://t.co/GM18MPg5LF but all credits to alison, totally parroting your words here😂  [&#8618;](https://twitter.com/xieyihui/status/1143995446383140864)

<!-- -->


> **Amelia Miramonti** (@AmeliaMiramonti; 4/0): In case anyone else is trying this and has lots of little questions like me, here's a great resource to complement @dsquintana's helpful thread/blogpost:
> >
> https://t.co/LORvbDwfpy https://t.co/bfBl62chqS  [&#8618;](https://twitter.com/xieyihui/status/1144438939018760192)

<!-- -->


> **Joyce Cahoon** (@joyceisms; 3/5): Thanks y'all for making it out tonight! The OG is @apreshill pls check out her awesome https://t.co/F6dKKlQY5v https://t.co/Gvh3NL9PJC  [&#8618;](https://twitter.com/xieyihui/status/1144408018857189377)

<!-- -->


> **Adam Sparks** (@adamhsparks; 3/1): @djnavarro @MooresMt blogdown makes it rather easy when combined with the Hugo Academic theme, code: https://t.co/BVeCszWlah and page: https://t.co/f4C7k2jonW It took me a while to set it up, but once it was, it's easy to maintain. The CV is in LaTeX, code: https://t.co/nlsZFgb9LL  [&#8618;](https://twitter.com/xieyihui/status/1146003174030843905)

<!-- -->


> **Alison Hill** (@apreshill; 3/1): @fellgernon @AedinCulhane @Bioconductor @KevinRUE67 @georgecushen + if you want more R-specific hand-holding, some up-to-date resources are here: https://t.co/I3MuTTpGSu
> >
> Developed for an in-house summer internship workshop series at @rstudio, but materials may still be helpful https://t.co/5VR9vlubPr  [&#8618;](https://twitter.com/xieyihui/status/1144090854144925696)

<!-- -->


> **Owen Churches** (@OwenChurches; 3/0): Next instalment in the amazingness of #blogdown is...you can run rvest::read_html() in a code chunk and the url is read when you serve_site(). It’s probably not a good idea but wow, I’m just amazed by this.  [&#8618;](https://twitter.com/xieyihui/status/1145250914778771458)

<!-- -->


> **Jeff Leek** (@jtleek; 3/0): @apreshill @NicholasStrayer @xieyihui  @georgecushen  I can't seem to get the Academic theme to find images when using blogdown on https://t.co/djqK98joDm. I found this https://t.co/wkj5E6NDT4 but can't seem to find the right places to change urls in layouts? Help! :)  [&#8618;](https://twitter.com/xieyihui/status/1144740037734649856)

<!-- -->


> **Jo(sephine) Lukito** (@JosephineLukito; 3/0): @UWMadison @UWMadisonLS students: If you know R blogdown, this is a great way to make some summer money, and you'll be working with awesome folks like @_fchen , @alwzysmilin , @karlrohe and me! https://t.co/6oRjYggs90  [&#8618;](https://twitter.com/xieyihui/status/1144673987844288514)

<!-- -->


> **Arslan Zaidi** (@A_A_Zaidi; 2/0): @GbuckTeo Try Hugo and/or R blogdown (which also uses Hugo under the hood)  [&#8618;](https://twitter.com/xieyihui/status/1146162933283643393)

<!-- -->


> **Random Critical Analysis 🎲🤔🕵️** (@RCAFDM; 2/0): @phl43 @jonatanpallesen @Scientific_Bird @KirkegaardEmil @haywire98 I started working on a blogdown-site about a year ago, but ended up being a huge time suck b/c I wanted to customize it too much :)  [&#8618;](https://twitter.com/xieyihui/status/1145817828051828736)

<!-- -->


> **Fabio Votta📊🦉** (@favstats; 2/0): Looking through the Google Analytics page of my #blogdown site &amp; I was surprised to learn that my (very short) introduction to xaringan seems to be the most visited post. I don't think it's that great actually so I should probably update it/create one that goes into more detail https://t.co/oQxhl26jSu  [&#8618;](https://twitter.com/xieyihui/status/1145412713448968193)

<!-- -->


> **Sharla Gelfand** (@sharlagelfand; 2/0): yes i fixed my blogdown no i can't figure out how to use a single `{{` instead of ``{{ }}` in text because {{ }} is hugo shortcodes so you have to close them (or at least i couldn't figure out how to keep them open)  [&#8618;](https://twitter.com/xieyihui/status/1145406233719054336)

<!-- -->


> **Alison Hill** (@apreshill; 2/0): @fellgernon @AedinCulhane @Bioconductor @KevinRUE67 @georgecushen If you opt to use blogdown, be sure to install the development version of the package first before making your new site: https://t.co/XrwqXF53RN  [&#8618;](https://twitter.com/xieyihui/status/1144088440826241024)

<!-- -->


> **Zorro Notorious M. E. B.** (@znmeb; 2/0): @jhollist @lovetheants BTW, I switched from Blogdown to Distill a few months ago. I'm at https://t.co/EEKzvAmYrG  [&#8618;](https://twitter.com/xieyihui/status/1145127843845660674)

<!-- -->


> **🇲🇽 Dr. Leonardo Collado-Torres** (@fellgernon; 2/0): @apreshill @AedinCulhane @Bioconductor @KevinRUE67 @georgecushen @rstudio Thanks @apreshill for all the info you shared last night!
> >
> @AedinCulhane and others: give hugo-academic and blogdown a try! If you have questions, you know how to find all of us hehe ^_^ :)  [&#8618;](https://twitter.com/xieyihui/status/1144305729505058816)

<!-- -->


> **Aedin Culhane** (@AedinCulhane; 2/0): @KevinRUE67 @apreshill @fellgernon @Bioconductor @georgecushen Thanks also for your script blogdown_kevinrue.sh  [&#8618;](https://twitter.com/xieyihui/status/1144094115979812864)

<!-- -->


> **Matt Moores** (@MooresMt; 1/0): @djnavarro I don’t know of any easy way to go from blogdown to CV or vice-versa. I currently maintain these separately  [&#8618;](https://twitter.com/xieyihui/status/1145958638894194689)

<!-- -->


> **PJ Ryan** (@PJRyan89; 1/0): @artjomshl @rstats4ds I link to some resources for using Hugo/academic here: https://t.co/cKVqFt9C2I 
> >
> It’s definitely worth checking out the thread @dsquintana wrote about blogdown  [&#8618;](https://twitter.com/xieyihui/status/1145691305500192768)

<!-- -->


> **PJ Ryan** (@PJRyan89; 1/0): @artjomshl @rstats4ds I use blogdown + Hugo + Netlify and I really like it  [&#8618;](https://twitter.com/xieyihui/status/1145660390161952768)

<!-- -->


> **boB 🇷udis** (@hrbrmstr; 1/0): @sharlagelfand hugo v0.55.6 gives me this on a hastily-crafted {blogdown} site https://t.co/Jwo34ZIP0c  [&#8618;](https://twitter.com/xieyihui/status/1145415438484070402)

<!-- -->


> **boB 🇷udis** (@hrbrmstr; 1/0): @sharlagelfand ARGH did not mean to hit the enter key so fast. That post from 2018 explains it pretty well and IIRC works via {blogdown}  [&#8618;](https://twitter.com/xieyihui/status/1145409997263855616)

<!-- -->


> **Taras Kaduk** (@taraskaduk; 1/0): @apreshill @jhollist I second this. I stripped away the blogdown level and went bare HUGO. It’s a much simpler setup.  [&#8618;](https://twitter.com/xieyihui/status/1145314343539662848)

<!-- -->


> **Alison Hill** (@apreshill; 1/0): @HeidiSteiner16 haha I'll update with answers! Did you do this:
> >
> https://t.co/TiM8phYX9r
> >
> The answer is NEVER. Every time you "serve site", public gets regenerated. No artisanal HTML editing allowed! Only ever edit the .toml, .md, .Rmd, or .Rmarkdown files :)  [&#8618;](https://twitter.com/xieyihui/status/1144717236151566336)

<!-- -->


> **James Waters** (@lovetheants; 1/0): @jhollist My site is through #rstats #blogdown, but I haven’t been able to successfully learn github well enough to host it there  [&#8618;](https://twitter.com/xieyihui/status/1145125441184915456)

<!-- -->


> **Marianna Foos** (@MariannaFoos; 1/0): @jhollist I have wondered this myself on days when I can't remember how to run my own blogdown site. I have thought about getting content via google suite (upload or forms, etc), or some sort of ITTT email solution, then publishing with a trigger or a cron job  [&#8618;](https://twitter.com/xieyihui/status/1145124345607598080)

<!-- -->


> **alex hayes** (@alexpghayes; 1/0): @matt_hanhat @karlrohe Will do! If you're interested, can you shoot an email to alexpghayes@gmail.com with a link to a blogdown blog? It's really helpful to see the blogdown source code as well!  [&#8618;](https://twitter.com/xieyihui/status/1144667817964376064)

<!-- -->


> **Kévin Rue-Albrecht** (@KevinRUE67; 1/0): @fellgernon @AedinCulhane @Bioconductor @georgecushen @apreshill Indeed I should clarify that I have not written that post (a leftover from the template website). That said, once set up, I wrote a script that builds and deploys my Blogdown website, so maintaining it is EXTREMELY easy with a single command! See https://t.co/Cxw9dS3BVn  [&#8618;](https://twitter.com/xieyihui/status/1144087577114419200)

<!-- -->


> **Craig Hamilton** (@craigfots; 0/2): #rstats people: I'm looking for examples of interactive timeline visualisations (eg timevis) that can be used on blogdown sites (eg hugo::academic). Need to incorporate x categories of data and (hover) URLs on data points. Any examples/tutorials would be most welcome. #dataviz  [&#8618;](https://twitter.com/xieyihui/status/1144225085039022081)

<!-- -->


# bookdown

> **Jen Wilkins** (@JenWilkinsMango; 53/15): I might be late to the party, but did not realise this was a thing till this morning.  What an amazing learning resource for #rstats!
> https://t.co/FpcIOy6PZW  [&#8618;](https://twitter.com/xieyihui/status/1145639923975892993)

<!-- -->


> **Robin Lovelace** (@robinlovelace; 50/7): As the number of open source books out there continues to grow I'm wondering: which publishers allow a 'hybrid model', whereby books are published online and in print? Publishers on https://t.co/l2LpWZkmK2 include:
> >
> - O'Reilly
> - CRC Press
> - OTexts
> - Princeton
> >
> Any others? https://t.co/jd4mVoKggS  [&#8618;](https://twitter.com/xieyihui/status/1144150567759073286)

<!-- -->


> **emre toros** (@emretoros; 48/13): Sosyal Bilimler Arastirmalari icin R
> Ücretsiz çevrimiçi kitabq buradan ulaşabilirsiniz https://t.co/pobI3Kynnt  [&#8618;](https://twitter.com/xieyihui/status/1144566856654753792)

<!-- -->


> **Debra Titone** (@debra_titone; 39/11): Just saw this R book, and it’s awesome..
> >
> https://t.co/lLN0bekpwv  [&#8618;](https://twitter.com/xieyihui/status/1144613875288956929)

<!-- -->


> **tipsder** (@tipsder; 13/7): ¡Ciencia de Datos Para Curiosos! 
> Una forma diferente para entender qué es la ciencia de datos, para qué sirve y cómo podemos usarla. Y, lo mejor, con un enfoque desde el uso y aprendizaje de #R
> https://t.co/W1JFBs7H0F
> #rstats 
> #DataScience 
> #dataviz
> #Datavisualization 
> #data https://t.co/4mxDGSTMRZ  [&#8618;](https://twitter.com/xieyihui/status/1144631997266046977)

<!-- -->


> **atusy** (@Atsushi776; 9/5): bookdown::gitbook + Pandoc 2.7.3ユーザはGitHub版bookdown使ってね．
> https://t.co/2NZzYKeOom  [&#8618;](https://twitter.com/xieyihui/status/1145120254831423489)

<!-- -->


> **John T. Johnson 🧠 Luctor et Emergo** (@John4tl; 9/1): @larsjuhljensen Time for a push to submit in Markdown (bookdown). Researchers focus on content, publishers on publishing. Checking and typesetting from Markdown can be fully automated. #AcademicTwitter #phdchat #markdown #bookdown https://t.co/AK4fsjWjcY  [&#8618;](https://twitter.com/xieyihui/status/1144644639766372352)

<!-- -->


> **Statisticians and Data Scientists** (@statsanddatasci; 5/10): 📚#CienciaDeDatos para curiosos - Martín Montané👇
> https://t.co/nS3YJO7chA
> >
> #Statistician #DataAnalyst #Statistics #Maths #Stats #Econometrics #DataAnalysis #Estadistico #Estadistica #Matematicas #Econometria #AnalisisDeDatos #Rstats #RstatsEs #DataScience #tidyverse #DataViz https://t.co/aLdXsWzilf  [&#8618;](https://twitter.com/xieyihui/status/1144779692798631942)

<!-- -->


> **Luca Zavarella** (@lucazav; 5/3): Statistical advices and #rstats / #SPSS implementation about #missingdata https://t.co/R5Yv0PBY7F #statistics #DataScience #livebook https://t.co/9LQ8r59GvI  [&#8618;](https://twitter.com/xieyihui/status/1146131509826531329)

<!-- -->


> **atusy** (@Atsushi776; 5/2): なんかpandoc2.7.3の仕様変更に巻き込まれた？！
> 明日確認する
> https://t.co/gUwXqXfSHs  [&#8618;](https://twitter.com/xieyihui/status/1144964738138300416)

<!-- -->


> **David Clarance** (@daveclarance; 5/2): #rstats are there ways to make #bookdown prettier than the default? Are there modules/templates out there? My google skills are failing me.  [&#8618;](https://twitter.com/xieyihui/status/1144871338810716160)

<!-- -->


> **f0nzie@OilGainsAnalytics** (@OilGains; 4/2): Another #bookdown ebook built with #rsuite. This time the turn for "Data Visualization" by @ClausWilke. #rsuite is not a replacement of #RStudio but rather a extraordinary complement by adding an extra layer on top of other #rstats projects and packages. 
> https://t.co/8RL3mGshkE  [&#8618;](https://twitter.com/xieyihui/status/1146214133119049730)

<!-- -->


> **Charles Lanfear** (@cclanfear; 4/0): @causalinf @grant_mcdermott @terrytsaiecon @hsantanna There are multiple methods for running Stata code inside R by calling out to the Stata process. Note sure how it'd translate to bookdown, but a recent one for RMarkdown is here: https://t.co/9kQ8eoUqSV  [&#8618;](https://twitter.com/xieyihui/status/1144647676702543873)

<!-- -->


> **Peter Meissner** (@peterlovesdata; 3/1): Feature Engineering and Selection: A Practical Approach for Predictive Models https://t.co/1yBWZGoC7k  [&#8618;](https://twitter.com/xieyihui/status/1145608396860723203)

<!-- -->


> **Statisticians and Data Scientists** (@statsanddatasci; 3/1): 📚Pack YouR Code by Gaston Sanchez👇
> https://t.co/26GBBF83DN
> >
> #Statistician #DataAnalyst #Statistics #Maths #Stats #Econometrics #DataAnalysis #Estadistico #Estadistica #Matematicas #Econometria #AnalisisDeDatos #DataMining #EBOOK #Rstudio #RCode #BookDown #Rstats https://t.co/9pX1lf7K7G  [&#8618;](https://twitter.com/xieyihui/status/1144399597957197824)

<!-- -->


> **Ajay Koli** (@koli_ajaykumar; 3/0): @amydjohn 4. Use #rstats #bookdown to save time on typesetting and produce a beautiful document.
> 5. If you have weak focus like me. An advice of 20 (work) + 5 (rest) minutes worked good for me. 
> 6. Keep fit. I used jogging.
> >
> All the best - wonderful journey ahead.  [&#8618;](https://twitter.com/xieyihui/status/1144949818000723968)

<!-- -->


> **しょこβ📚** (@anemptyarchive; 3/0): 手作り資料が100ページ越えてた…bookdownを使えば幸せになれたりするのだろうか？？  [&#8618;](https://twitter.com/xieyihui/status/1144601316578058240)

<!-- -->


> **atusy** (@Atsushi776; 2/1): Pandoc 2.7.3 以降では bookdown::html_document2 で clean_highlight_tags: false しなくても行番号をつけられるようになった．しかし，fenced code attributes に numberLines クラスを足した時だけ追加で div.sourceCode とか pre.sourceCode とかの margin を変更しやがる．  [&#8618;](https://twitter.com/xieyihui/status/1145111053564440576)

<!-- -->


> **LittleSquirrel** (@noccaea; 2/0): Less than ten minutes to learn how to import citations from my Zotero to my bookdown document, with the citR package and get a beautifull bibliography 🥰
> Thank you awesome developpers!!💙
> #Rmarkdown #bookdown #AweromeR  [&#8618;](https://twitter.com/xieyihui/status/1146332321857101824)

<!-- -->


> **Fabio Gaitan** (@funesfabiog; 2/0): Otro libro de ciencias de datos. 
> https://t.co/vZ490vHK4c  [&#8618;](https://twitter.com/xieyihui/status/1146256143725076487)

<!-- -->


> **¡OdioEstadística!** (@OdioEstadistica; 1/3): Es de un científico de datos
> >
> Comparte con este "#" --&gt; #Mundocondatos
> >
> #Statistics #Analisisdedatos #estadistica #DataAnalysis #DataScience #Rstats #rstatses #Cienciadedatos #MachineLearning #ApredizajeAutomático #Bookdown #rpubs https://t.co/AMJt4Vzh7m  [&#8618;](https://twitter.com/xieyihui/status/1145789689078657025)

<!-- -->


> **atusy** (@Atsushi776; 1/1): Pandoc 2.7.3 を使うと bookdown におけるコードブロックの行番号がちょっと楽になりそう | Atusy's blog https://t.co/4WHUFp5pyw  [&#8618;](https://twitter.com/xieyihui/status/1146423861145038848)

<!-- -->


> **Katie Lee** (@ResourcefulSqrl; 1/1): @adam42smith I use markdown or LaTex with pandoc or Rmarkdown/bookdown, but sometimes I have things that are shared with folks who only use Word, and converting back and forth is a PITA when there are edits. I was hoping I could point Zenodo to a .bib magically and have it act like a lookup?  [&#8618;](https://twitter.com/xieyihui/status/1144761169141518337)

<!-- -->


> **Doctorb Zhian N. Kamvar** (@ZKamvar; 1/0): @daveclarance I think it will take a bit of fiddling with css but the bookdown book points to the right direction: https://t.co/wmJyN6i4ob  [&#8618;](https://twitter.com/xieyihui/status/1144933001270300672)

<!-- -->


> **Craig Hutton** (@huttoncp; 1/0): Educational and entertaining #rstats  https://t.co/Zd84BZX6i3  [&#8618;](https://twitter.com/xieyihui/status/1144496194644611073)

<!-- -->


> **Robert Amezquita** (@robamezquita; 1/0): @BrianCapaldo @stephaniehicks It's on me - the GH button doesn't seem to work on the bookdown! Some technical annoyances to figure out :)  [&#8618;](https://twitter.com/xieyihui/status/1143964227075551232)

<!-- -->


> **¡OdioEstadística!** (@OdioEstadistica; 0/1): Es de un científico de datos
> >
> Comparte con este "#" --&gt; #Mundocondatos
> >
> #Statistics #Analisisdedatos #estadistica #DataAnalysis #DataScience #Rstats #rstatses #Cienciadedatos #MachineLearning #ApredizajeAutomático #Bookdown #rpubs https://t.co/52ns7DqOI1  [&#8618;](https://twitter.com/xieyihui/status/1144330843047043073)

<!-- -->


> **Dr Kristian Brock** (@CatchTwentyToo; 0/1): “It is fine for humans to err (in computing), as long as the source code is readily available.”
> >
> Thanks to @xieyihui for this great book:
> >
> https://t.co/tFTfI1MaLt  [&#8618;](https://twitter.com/xieyihui/status/1145744453316964352)

<!-- -->


> **Naras** (@b_naras; 0/1): Toggle solution visibility in bookdown (https://t.co/ksv6ttNrcS) #rstats #bookdown  [&#8618;](https://twitter.com/xieyihui/status/1145067992251686912)

<!-- -->


# knitr

> **Ariel Muldoon** (@aosmith16; 21/2): Here's what I included in my .Rmd, excluding specific chunks by name:
> >
> \`\`\`{r getlabels, echo = FALSE}
> labs = knitr::all_labels()
> labs = labs[!labs %in% c("setup", "toc", "getlabels", "allcode")]
> \`\`\`
> >
> \`\`\`{r allcode, ref.label = labs, eval = FALSE}
> \`\`\`  [&#8618;](https://twitter.com/xieyihui/status/1144670168020160512)

<!-- -->


> **Code Geek** (@codek_tv; 5/0): Ruby Algorithm Documentation with AsciiDoc and Knitr
> https://t.co/ofmHnjXr9K
> >
> #ruby #programming https://t.co/iIMEenRmuF  [&#8618;](https://twitter.com/xieyihui/status/1145943535209742336)

<!-- -->


> **Stephen D. O'Connell** (@steveoconnell1; 5/0): As #Stata fans enter #Y2K with multiple dataframes in v16, I am finally claiming full conversion to #useR -- a new project gave me the impetus to try out #knitR/#RMD/#ioslides for integrated analysis and dynamically updated slides, and I think I'll never look back!  [&#8618;](https://twitter.com/xieyihui/status/1144626696865423365)

<!-- -->


> **Jana Jarecki** (@JanaJarecki; 4/0): @abmathewks @MattDowle I'm in, too. I'm pro with latex and good w knitr, too. Also good with graphics.
> >
> Do you want to Skype early this week?
> >
> Do we have a data.table cheat sheet, for instance?  [&#8618;](https://twitter.com/xieyihui/status/1145363485783678976)

<!-- -->


> **Darren Clinch** (@darrenclinch; 3/2): My first time submitting an assignment using knitr.  Pretty cool #rstats package.  [&#8618;](https://twitter.com/xieyihui/status/1145573619428278275)

<!-- -->


> **Web Development** (@Web_Dv123; 2/2): Ruby Algorithm Documentation with AsciiDoc and Knitr
> https://t.co/2YJI7YBvnc
> >
> #ruby #programming https://t.co/mDSYxjT5M5  [&#8618;](https://twitter.com/xieyihui/status/1145942926645575680)

<!-- -->


> **Thomas Mock 👨🏼‍💻** (@thomas_mock; 2/1): @phillynerd Have you tried knitr::spin? Could be how pure RMarkdown treats file paths.
> >
> https://t.co/WzL0e5a16A
> >
> https://t.co/Vy4rNGhH4g has some historical info.
> >
> Not sure if it's still under development but also {{ezknitr}} - https://t.co/vRjtbTCKvu  [&#8618;](https://twitter.com/xieyihui/status/1146075823218339840)

<!-- -->


> **Alison Hill** (@apreshill; 2/1): @aosmith16 The knitr purl trick may also be useful to you: https://t.co/VnsdGHSsmi  [&#8618;](https://twitter.com/xieyihui/status/1145011025952956416)

<!-- -->


> **Ariel Muldoon** (@aosmith16; 2/0): @apreshill @ma_salmon @yihui Ha, this is exactly what I needed yesterday! My google-fu failed me. 
> >
> I only found all_labels() because I was typing ?knitr:: and it popped up at the top of the autocomplete list. 🤣  [&#8618;](https://twitter.com/xieyihui/status/1144972069676863493)

<!-- -->


> **Jack Bailey** (@PoliSciJack; 2/0): @Jade_Pickering @AcademicChatter @EleanorHassan Knitr::kable can do this from within R if you pass it, e.g., the summary of a regression  [&#8618;](https://twitter.com/xieyihui/status/1144876112163614725)

<!-- -->


> **jQuery** (@jquery_dv; 1/0): Ruby Algorithm Documentation with AsciiDoc and Knitr
> https://t.co/AIYXhX7WVX
> >
> #ruby #programming https://t.co/Dm1gNSgYfJ https://t.co/O0aQL7PrnM  [&#8618;](https://twitter.com/xieyihui/status/1145948250538729472)

<!-- -->


> **Web Development** (@developmentwep; 1/0): Ruby Algorithm Documentation with AsciiDoc and Knitr
> https://t.co/DQ2z3SbdTe
> >
> #ruby #programming https://t.co/zJ3JpSmhEv https://t.co/7suPz0EUIQ  [&#8618;](https://twitter.com/xieyihui/status/1145943326522269696)

<!-- -->


> **Alison Hill** (@apreshill; 1/0): @aosmith16 That makes total sense- I often feel like most of my rmarkdown “tricks” are actually knitr tricks. Also I get what you googled- like I just want my code back!  [&#8618;](https://twitter.com/xieyihui/status/1145008859892740098)

<!-- -->


> **Ariel Muldoon** (@aosmith16; 1/0): @apreshill I see now my mistake was to focus on the task and not the outcome ("appendix"). So I was using terms along the lines of extracting or copying all code chunks. 
> >
> I was also using rmarkdown as a term, and it seems like I should have been using knitr. They're so intertwined!  [&#8618;](https://twitter.com/xieyihui/status/1144995720174247936)

<!-- -->


> **Jack Bailey** (@PoliSciJack; 1/0): @Jade_Pickering @AcademicChatter @EleanorHassan Yeah, it can be hard work! Bonus for using knitr or something similar: fully reproducible tables!  [&#8618;](https://twitter.com/xieyihui/status/1144880453226323968)

<!-- -->


> **Forest Gregg** (@forestgregg; 1/0): we might be coming back to R for knitr (and RMarkdown).
> >
> strangely, pandas might make this easier to do to. it's so different from normal python that learning pandas seems about as difficult as learning R.  [&#8618;](https://twitter.com/xieyihui/status/1144409752107139072)

<!-- -->


> **Elise Bell** (@eabell_; 1/0): @jvcasill The solution appeared to be some arcane combination of a new session, a new document, and retyping all the code from the original! What's bugging me now is that the inconsistent knitr result is now the rstudio result as well, and the original rstudio result has vanished.  [&#8618;](https://twitter.com/xieyihui/status/1144024962132533251)

<!-- -->


> **Elise Bell** (@eabell_; 1/0): Okay, assuming that I have already done all of the obvious things to fix the problem (because I have), what might be causing my RStudio console and knitr output to give different results?  [&#8618;](https://twitter.com/xieyihui/status/1143897786284433408)

<!-- -->


> **Joseph Casillas** (@jvcasill; 1/0): @eabell_ Hard to say without more details so I’ll ask the annoying/obvious question... did you restart the session in Rstudio? Knitr always starts from a fresh session.  [&#8618;](https://twitter.com/xieyihui/status/1143898835690885120)

<!-- -->


> **Docker Fan** (@DockerDv; 0/1): Ruby Algorithm Documentation with AsciiDoc and Knitr
> https://t.co/4lr9Hff5o3
> >
> #ruby #programming https://t.co/eFvXyhp6Cs https://t.co/8cmkJFkpQb  [&#8618;](https://twitter.com/xieyihui/status/1145949778032898048)

<!-- -->


# pagedown

> **Brent Thorne** (@brentthorne18; 9/3): @CokoFoundation @WarrenManuel5 @davisjmcc @mikemorrison @prab4th @xieyihui @RLesur Also made a thesis document template which was just merged into the pagedown package in case any is interested in writing their thesis in R/RMarkdown 
> >
> https://t.co/aPwatLa1SW  [&#8618;](https://twitter.com/xieyihui/status/1144363160188727296)

<!-- -->


# xaringan

> **Dr. Sam Tyner** (@sctyner; 20/0): Omg I thought I was hitting Command+F in my Rmd but this happened to my #xaringan slides instead. 😱🙃 https://t.co/g18aU4XdDW  [&#8618;](https://twitter.com/xieyihui/status/1143947829729210368)

<!-- -->


> **ilustat** (@ilustat; 10/5): Slide presentation: "Introduction to R Markdown". #rstats #rmarkdown #xaringan Enjoy!
> >
> https://t.co/iXrV1JU2En https://t.co/byePj8viZy  [&#8618;](https://twitter.com/xieyihui/status/1144567406204993538)

<!-- -->


> **Fabio Votta📊🦉** (@favstats; 7/2): Some people asked me for the code of my xaringan slides. You can find them on my GitHub (with most of the rest of the stuff that I am up to):
> >
> https://t.co/yQKPHx5p8b  [&#8618;](https://twitter.com/xieyihui/status/1145401377381847046)

<!-- -->


> **ilustat** (@ilustat; 7/2): "Introduction to R Markdown" workshop GitHub repo. #rstats #rmarkdown #xaringan
> >
> https://t.co/7b8NCSRh10  [&#8618;](https://twitter.com/xieyihui/status/1144567408935354369)

<!-- -->


> **Yihui Xie** (@xieyihui; 3/0): @EvaMaeRey @apreshill @benmarwick @espinielli It won't work with xaringan. The technical difficulty aside, I'm not yet convinced that figures (or tables) need to be numbered and cross-referenced in slides. I'd keep slides as simple as possible. The audience won't remember the specific numbers like Fig 3 on p7 or Tab 5 on p9.  [&#8618;](https://twitter.com/xieyihui/status/1143948246693416966)

<!-- -->


> **Martin John Hadley (they/them)** (@martinjhnhadley; 2/1): I'm choosing to believe RStudio deliberately keep the Shiny Server install link short enough to fit on a regularly sized {xaringan} slide https://t.co/iCqPEhMcZd  [&#8618;](https://twitter.com/xieyihui/status/1144565638003920896)

<!-- -->


> **Beatriz Milz** (@BeaMilz; 1/0): @tech_jessi Sobre R, a primeira foi la na USP (out/18) pra galera da pós em ciência ambiental e falei um pouco sobre o uso do R resolvendo um problema específico. E o primeiro em meetup (nov/18) foi sobre o pacote xaringan... algo q aprendi foi q eu aprendo MUITA coisa nova quando apresento  [&#8618;](https://twitter.com/xieyihui/status/1146363775987134464)

<!-- -->


> **Garrick Aden-Buie** (@grrrck; 1/0): @Dr_Joe_Roberts Cool idea! It’s not possible atm... but it could be 😉 where does the timer end up? In a webpage, xaringan slide, rstudio console, some other place...?  Feel free to open an issue on github with more details about your use case if you want: https://t.co/OW3vXQhXal  [&#8618;](https://twitter.com/xieyihui/status/1146153791366078466)

<!-- -->


> **Gina Reynolds** (@EvaMaeRey; 1/0): @xieyihui @apreshill @benmarwick @espinielli Thanks so much for the info, Yihui!  Also for your (as usual) thoughtful perspective.  I think what you are saying is right about the presentation context.  My interest is using case is for using Xaringan more like an online book, so audience has more freedom.  [&#8618;](https://twitter.com/xieyihui/status/1143993056045281287)

<!-- -->


> **Tam** (@tam07pb915; 1/0): Xaringanだとわかったので変なおっさん挟まってるかなと思ったけど最後まで出てこなかったw  [&#8618;](https://twitter.com/xieyihui/status/1145186514432692224)

<!-- -->


> **Diego Trindade** (@diegopftrindade; 1/0): @_ColinFay My 4 yr old loves #xaringan. She can type and see what is going on. Currently she is wondering how to draw unicorns in the slides. New unicorns xaringan theme coming soon, haha.  [&#8618;](https://twitter.com/xieyihui/status/1144624669712105473)

<!-- -->


# yihui.name

> **Alison Hill** (@apreshill; 5/2): @aosmith16 @ma_salmon Nice! This seems like a common thing people want to do- @yihui has a blog post awhile back summarizing some different approaches: https://t.co/cJdorCfszI  [&#8618;](https://twitter.com/xieyihui/status/1144845921206751234)

<!-- -->


> **Tim Riffe** (@timriffe1; 3/0): @nikkilsud @dataandme @nickchk Here are a bunch: https://t.co/b6ou8JIcfG  [&#8618;](https://twitter.com/xieyihui/status/1144326667680305152)

<!-- -->


> **R Weekly Live** (@rweekly_live; 2/1): On TIOBE Index @xieyihui #rstats #datascience https://t.co/1H6dC4sqTT  [&#8618;](https://twitter.com/xieyihui/status/1144669333294968832)

<!-- -->


> **Yohan J. Rodríguez** (@hasdid; 1/1): #R  #Automated | On TIOBE Index https://t.co/mirET9NEh2  [&#8618;](https://twitter.com/xieyihui/status/1146203652757086209)

<!-- -->


> **Dⓐniel Chen** (@chendaniely; 1/0): @ocefpaf require only returns TRUE/FALSE if the load was successful. It'll never error.
> library will actually fail and exit if the package wasn't loaded (not installed)
> >
> tl;dr: use library, unless you're actually checking to see if something was installed
> >
> https://t.co/ioE45wZV5s  [&#8618;](https://twitter.com/xieyihui/status/1145805372713840640)

<!-- -->


