{
  "title": "Excited to announce my next book project: mastering shiny, https://t.co/0mhQs57TDp. I didn’t write shiny, but I’m having fun writing about it! #rstats",
  "date": "2019-08-14"
}

# #rstats

> **Hadley Wickham** (@hadleywickham; 1847/429): Excited to announce my next book project: mastering shiny, https://t.co/0mhQs57TDp. I didn’t write shiny, but I’m having fun writing about it! #rstats  [&#8618;](https://twitter.com/xieyihui/status/1161404141396250624)

<!-- -->


> **Yan Holtz** (@R_Graph_Gallery; 1161/406): ⭐️⭐️ Glad to announce a massive update of the #rstats  Graph Gallery !! ⭐️⭐️ 
> >
> Now built with R Markdown ⭐️ 50+ new charts ⭐️ Hosted on GitHub ⭐️ ggplot2 focus ⭐️ loading time divided / 10 ⭐️ &lt;- friendly ⭐️ And more!
> >
> https://t.co/37QCKbhZfg https://t.co/pJZIYnObD7  [&#8618;](https://twitter.com/xieyihui/status/1160677386826002435)

<!-- -->


> **Antoine Fabri** (@antoine_fabri; 354/80): I designed a package to do intuitive text extraction inspired by glue's convenient syntax, it looks a lot like glue in reverse :
> remotes::install_github("moodymudskipper/unglue")
> https://t.co/rR25mtmX7O
> #rstats https://t.co/IXkVMHbjgx  [&#8618;](https://twitter.com/xieyihui/status/1161222024485908481)

<!-- -->


> **David Robinson** (@drob; 313/62): In this #tidytuesday screencast, I analyze Bob Ross paintings, and demonstrate a tidy approach to principal component analysis
> >
> Turns out first principal component is between the extremes of "Mountain Waterfall" and "Balmy Beach" ⛰️🏖️🎨🖼️
> >
> https://t.co/98AkMlSso7 #rstats https://t.co/9GrrYQ0Rkb  [&#8618;](https://twitter.com/xieyihui/status/1160903207251582976)

<!-- -->


> **Bożena Wielgoszewska** (@MeBozena; 273/24): My contour plot is... leaking?😳
> #rstats https://t.co/79rlN92tHl  [&#8618;](https://twitter.com/xieyihui/status/1161283008151871490)

<!-- -->


> **David Keyes** (@dgkeyes; 264/44): I'm amazed at how many people considering R think that their needs are "too basic" to justify learning it. People often assume it only do complex things and fail to appreciate how much it can improve your efficiency in completing "basic" things. #rstats  [&#8618;](https://twitter.com/xieyihui/status/1161383557710745600)

<!-- -->


> **Miles McBain** (@MilesMcBain; 221/56): Last week some #rstats spatial super stars published an open access paper on analysing locations for stroke treatment facilities. It has website with fully worked code examples that I have been able to adapt to fire station location analysis: https://t.co/WogDEBH46s 😭😭😭 https://t.co/UNCrXbIpnq  [&#8618;](https://twitter.com/xieyihui/status/1161181602954674176)

<!-- -->


> **David Grubbs** (@crcgrubbsd; 200/391): To celebrate @hadleywickham winning the COPSS award, we would like to giveaway an autographed copy of Advanced R. To win, retweet this message, follow me and @CRC_MathStats and we will pick a winner at the end of next week. #rstats @RLadiesGlobal @CRCPress https://t.co/M3iBld6Eui  [&#8618;](https://twitter.com/xieyihui/status/1161011565090488325)

<!-- -->


> **JD Long** (@CMastication; 181/25): This is so much more intuitive than a bunch of regex to do the same thing. And intuitive enough for a learner to grok without having to learn 5 other things first. Great little purpose built text extractor. #rstats https://t.co/Kjum2VYqXG  [&#8618;](https://twitter.com/xieyihui/status/1161227964757028864)

<!-- -->


> **Nicholas Tierney** (@nj_tierney; 169/56): I'm excited to announce the soft release of the `brolgar` package for exploring longitudinal (panel) data in a sane and tidy way, working with tools like dplyr, ggplot2, and the new tidyverts packages.
> >
> See the blog post for more details:
> https://t.co/EFcxqt9FMD
> >
> #rstats
> #datavis  [&#8618;](https://twitter.com/xieyihui/status/1161279774335143936)

<!-- -->


# blogdown

> **Shel 🇰🇪** (@Shel_Kariuki; 61/5): This is how I spent my day. New website made from #blogdown. I finally made it, despite the many errors... 😭😭😭. Still work in progress though...🙌
> >
> https://t.co/qcVNpxU65n  [&#8618;](https://twitter.com/xieyihui/status/1161009264124747778)

<!-- -->


> **Will Chase** (@W_R_Chase; 41/3): Starting to learn Hugo tonight. To make it extra fun I'm going to semi-live tweet my process over the next several weeks. I'll update this thread as I go. If you use Blogdown, you might learn something about how your website works. Pray for my sanity. #rstats https://t.co/8X0ZV0Y9Ql  [&#8618;](https://twitter.com/xieyihui/status/1159991656457867264)

<!-- -->


> **Dr. Maja Ilić** (@MajaIlicZg; 15/0): Exciting news: I spent some time creating my own academic website using Hugo Academic and blogdown in R, which is now finally online:
> https://t.co/vzx3OvSiiI
> Many thanks also to @dsquintana for a great introduction into this!  [&#8618;](https://twitter.com/xieyihui/status/1159779732252176386)

<!-- -->


> **Giovanni Briganti, M.D.** (@giovbriganti; 12/1): Although I already have a website, I made a very cool blogdown site in under an hour in #rstats with @dsquintana’s amazing tutorial https://t.co/dMDtKDK7Yw ; this is so cool ! https://t.co/7EA3sUGRqb  [&#8618;](https://twitter.com/xieyihui/status/1161352966936436738)

<!-- -->


> **Shel 🇰🇪** (@Shel_Kariuki; 11/1): After a whole day working on a #blogdown website, it is time to dance the night away... #accomplishments https://t.co/zMkvOdLyIW  [&#8618;](https://twitter.com/xieyihui/status/1160244383465267201)

<!-- -->


> **Jonathan Carroll** (@carroll_jono; 11/0): New post and a redesigned (blogdown) website! 
> >
> {ggtext} as x-axis labels // https://t.co/PZHSHL1hwA
> >
> Let me know if you spot something not working as it should. I'm still getting the hang of this setup.  [&#8618;](https://twitter.com/xieyihui/status/1161265950328360960)

<!-- -->


> **Travis Loux** (@TLstats; 3/0): First substantive post on my new #blogdown blog is a visual explanation of collinearity https://t.co/7Rlpz22B0I  [&#8618;](https://twitter.com/xieyihui/status/1161104669780959232)

<!-- -->


> **Jiri Stodulka** (@jiristo; 2/3): I am not using #R for #DataScience any more. But still shiny is a very cool tool especially if you blog with #blogdown. Definitely, the book will expand my library. Still, #rstats is the most dedicated community I have encountered on twitter so far. https://t.co/B1gCS3g3q3  [&#8618;](https://twitter.com/xieyihui/status/1161643543070498816)

<!-- -->


> **atusy** (@Atsushi776; 2/1): おや https://t.co/J1xn9BUoAO に blogdown 本が来ている．
> https://t.co/U8Gz4qNnLO  [&#8618;](https://twitter.com/xieyihui/status/1159636702836580354)

<!-- -->


> **Will Chase** (@W_R_Chase; 2/0): @Shel_Kariuki Nice! Blogdown can be painful to get started with, but your site looks great!  [&#8618;](https://twitter.com/xieyihui/status/1161015602519126016)

<!-- -->


> **David Barney** (@davidjbarney; 2/0): @OzerTheMoon GitHub pages — if you use R, it’s pretty easy to make a nice looking page with blogdown  [&#8618;](https://twitter.com/xieyihui/status/1159848680939315201)

<!-- -->


> **Claus Wilke** (@ClausWilke; 1/0): @SciWithRhi I’d consider blogdown. Static site generators are perfectly adequate for personal blogs, and they’re cheaper and will get you further at the same time.
> https://t.co/hMrZbaca8f  [&#8618;](https://twitter.com/xieyihui/status/1161413026429509632)

<!-- -->


> **levene bartlett** (@levene_bartlett; 1/0): I addict  to blogdown in R :))  [&#8618;](https://twitter.com/xieyihui/status/1160573926516363266)

<!-- -->


> **Doctorb Zhian N. Kamvar** (@ZKamvar; 1/0): @dirk_sch blogdown and usethis  [&#8618;](https://twitter.com/xieyihui/status/1160663048723546113)

<!-- -->


> **Bea.** (@Chucheria; 1/0): Ok, this is it for me. blogdown::serve_site is not getting my folder structure and I don't really know why this could happen. Anything I can try is appreciated because right now I'm out of ideas.  [&#8618;](https://twitter.com/xieyihui/status/1159919955414065152)

<!-- -->


> **Jordan Foley** (@FoleyJ0; 0/1): If any #rstats person is familiar with blogdown/hugo/netlify and the academic theme, I am having some issues with my website that I can't figure out and would *love* some help from someone smarter than me.  [&#8618;](https://twitter.com/xieyihui/status/1159923508220243968)

<!-- -->


# bookdown

> **TAKEbayesHI** (@psycle44; 96/27): すごい！pim(メタ分析神)と京大の古川先生(神)サポートでRでメタ分析のブックダウンできてる！ネットワークメタ分析までカバーされてます！個人的には、Rでrevmanスタイルのバイアスのリスクのplotを綺麗に作れるコードがのってるところがエモイ。神。
> https://t.co/IAqA6veCfU https://t.co/Ux9x5tq6FJ  [&#8618;](https://twitter.com/xieyihui/status/1161402709666172928)

<!-- -->


> **Sam Abbott** (@seabbs; 53/12): 1. PhD thesis 'Modelling BCG vaccination in the UK: What is the impact of changing policy?' submitted and everything is totally normal.... 
> >
> Written with #rstats, #bookdown, and #thesisdown. 
> >
> Read here: https://t.co/NFyv1kHg14
> >
> #phdchat #epitwitter #openscience #tuberculosis https://t.co/AFz6iZleWR  [&#8618;](https://twitter.com/xieyihui/status/1159848668310069249)

<!-- -->


> **boB Rudis** (@hrbrmstr; 30/5): What kind of a hole do you have to be researching in to not include #rstats {rmarkdown} / {bookdown} in this? My respect for new work coming out of MIT continues to degrade (which I didn't think was possible…might be in dichotomy paradox territory). https://t.co/QcCq05HIxn  [&#8618;](https://twitter.com/xieyihui/status/1159781365119950848)

<!-- -->


> **Andy MacLachlan** (@ac_maclachlan; 26/3): We've moved our @CASAUCL GIS course into Bookdown with some cool new online mapping tutorials and examples👩‍🎓👨‍🏫. Thanks for an awesome tool and great documentation @xieyihui @rstudio @LeafletJS https://t.co/a88Pd98gxT  [&#8618;](https://twitter.com/xieyihui/status/1161267943336030208)

<!-- -->


> **atusy** (@Atsushi776; 13/3): よっしゃ，bookdown に
> powerpoint_presentation2
> odt_document2
> markdown_document2
> がマージされたぞぉ!!
> markdown_document2 は base_format に任意の出力形式を指定して相互参照可能にするツワモノ．
> https://t.co/YBo8mzGzPP
> https://t.co/UqXqoxOZqE  [&#8618;](https://twitter.com/xieyihui/status/1159847090631012353)

<!-- -->


> **Kodai Kusano** (@KusanoKodai; 8/2): Wow.
> "Doing Meta-Analysis in R: A Hands-on Guide"
> https://t.co/pGNrEra4YQ  [&#8618;](https://twitter.com/xieyihui/status/1161548043193163776)

<!-- -->


> **Doctorb Zhian N. Kamvar** (@ZKamvar; 7/1): @klsywd I did mine in markdown with bookdown: https://t.co/hZk8xEo85K. Since each chapter was separate, it was possible to convert them to word individually to get feedback from my advisor. The redoc package might help with incorporating the edits.  [&#8618;](https://twitter.com/xieyihui/status/1160103026922840065)

<!-- -->


> **Damien C-C** (@dccc_phd; 7/1): @JohnHolbein1 This is a good #Rstats solution one might use: https://t.co/loDufaynDi  [&#8618;](https://twitter.com/xieyihui/status/1159155218606694401)

<!-- -->


> **Paul Oldham #FBPE #RevokeA50** (@junglepaul; 5/1): @francisko_r @IamMRWani @nj_tierney @Dale_Masch @162880 @thomas_mock @veerlevanson @apreshill @xieyihui @rOpenSci You can download the GitHub repo with the files here: https://t.co/mYKAVRCt17 and open the rproj file to see everything in rstudio. Downloading &amp; Reviewing github repos is recommended for learning how others use rmarkdown e.g. https://t.co/GZi0FywR9R projects.  [&#8618;](https://twitter.com/xieyihui/status/1160097524541198336)

<!-- -->


> **Paul Oldham #FBPE #RevokeA50** (@junglepaul; 5/0): @IamMRWani @162880 @thomas_mock @veerlevanson @apreshill @xieyihui @rOpenSci @nj_tierney has produced the really useful RMarkdown for Scientists https://t.co/IjNOq9STno as suggested by @Dale_Masch. Working through this book and its exercises would be a really good way to get started. It's a living #bookdown so feel free to make suggestions on Github.  [&#8618;](https://twitter.com/xieyihui/status/1159337248162308096)

<!-- -->


> **Luuuda** (@ludmila_janda; 4/2): excellent documentation for quickly getting started with #rstats bookdown, thank you @seankross https://t.co/xrqYqWI3cV  [&#8618;](https://twitter.com/xieyihui/status/1161346256507232257)

<!-- -->


> **Dan MacLean** (@danmaclean; 4/1): @klsywd Use Markdown and Pandoc. Specifically use the bookdown package in Rstudio to create a book project. This will let you write a nice simple markdown document and will output word, latex, html and pdf versions if you ask it.  [&#8618;](https://twitter.com/xieyihui/status/1160078545076535296)

<!-- -->


> **Sergio Berdiales** (@SergioBerdiales; 3/1): @jantleon https://t.co/dTd7H6YRwC está genial para ir publicando tus cosas con R. Es gratuito y funciona muy bien. https://t.co/RN2f7tJYM4  [&#8618;](https://twitter.com/xieyihui/status/1159508180822573057)

<!-- -->


> **Andrew Leach 🇨🇦 🚲** (@andrew_leach; 3/0): The road from here to an energy markets textbook written in bookdown with automated updates each month or so can't be that long, right @apreshill?  [&#8618;](https://twitter.com/xieyihui/status/1161406993854128128)

<!-- -->


> **Alison Hill** (@apreshill; 3/0): @francisko_r @Dale_Masch @junglepaul @IamMRWani @nj_tierney @162880 @thomas_mock @veerlevanson @xieyihui @rOpenSci You may have better luck asking on: https://t.co/Qfg1xoWnaJ (I find it really hard to troubleshoot code on this platform)  [&#8618;](https://twitter.com/xieyihui/status/1160291176718561280)

<!-- -->


> **Nono Gueye** (@GueyeNono; 3/0): @patilindrajeets If you're looking specifically for a paper, then I am not sure. But there definitely must be a tidal wave of articles/talks out there for #rmarkdown on the same subjects. Also, you can take a look at the book itself: https://t.co/e1u00KqHAI  [&#8618;](https://twitter.com/xieyihui/status/1160198449415020544)

<!-- -->


> **Greg Tucker-Kellogg** (@gtuckerkellogg; 2/1): @dataandme @hrbrmstr I think the authors are mistaken, but I wish they were correct (in that I wish RMarkdown and Bookdown were more closely aligned with the underlying pandoc). 
> >
> FWIW, the authors also neglected to include #emacs #orgmode.  [&#8618;](https://twitter.com/xieyihui/status/1159986645698920448)

<!-- -->


> **Jalal Al-Tamimi** (@beppeFusilli; 2/0): @PatStrycharczuk Yes statistical rethinking is a must. Also there is an online book that introduces the user to apply the analyses using the brms package: https://t.co/iFJq6eJT9E  [&#8618;](https://twitter.com/xieyihui/status/1160983681302978562)

<!-- -->


> **boB Rudis** (@hrbrmstr; 2/0): @themba Which ignores rmarkdown and bookdown. It’s shoddy faux research.  [&#8618;](https://twitter.com/xieyihui/status/1160930842060972032)

<!-- -->


> **Paul Oldham #FBPE #RevokeA50** (@junglepaul; 2/0): @apreshill @francisko_r @Dale_Masch @IamMRWani @nj_tierney @162880 @thomas_mock @veerlevanson @xieyihui @rOpenSci I agree with @apreshill. It may be that @nj_tierney bookdown repo has a pdf ready to go...but it’s a work in progress repo...so maybe not. Rstudio community much better for code questions.  [&#8618;](https://twitter.com/xieyihui/status/1160294991966720002)

<!-- -->


> **Dr Rachael Lappan** (@RachaelLappan; 2/0): @klsywd @phylogenomics I wrote drafts in Word for feedback, which once finalised I transferred into #bookdown (specifically thesisdown) to format. Nice intermediary between Word and hardcore #LaTeX. Would strongly recommend the final formatted product not be a monstrous lagging Word abomination.  [&#8618;](https://twitter.com/xieyihui/status/1160087875171389440)

<!-- -->


> **Dan MacLean** (@danmaclean; 2/0): @klsywd Bookdown wraps all the tools into a really nice simple workflow in the Rstudio App https://t.co/87W5ek4LNU https://t.co/FYpHRQlCNH  [&#8618;](https://twitter.com/xieyihui/status/1160081143967993857)

<!-- -->


> **Martin Monkman** (@monkmanmh; 1/2): @BioMickWatson A great post, thanks for bringing it to my attention 4 years after you first published it! 
> I just added it to my Data Science with #rstats resource compendium: 
> https://t.co/etsiaqQkPM  [&#8618;](https://twitter.com/xieyihui/status/1160974936376135680)

<!-- -->


> **Martin Chan** (@martin_rstats; 1/1): Can anyone in the #rstats community recommend an app / reader for reading bookdown style books offline on mobile?
> >
> They're great in desktop browsers but being able to read these offline would be great! Thanks 🙏  [&#8618;](https://twitter.com/xieyihui/status/1161325290158735361)

<!-- -->


> **your colleague** (@themba; 1/1): @pubpub interesting omissions of markdown and, particularly, bookdown. Just passing along feedback from an open source software author.  [&#8618;](https://twitter.com/xieyihui/status/1160937518017187841)

<!-- -->


> **E. David Aja** (@PeeltothePithy; 1/1): @serdarbalci @rstudio https://t.co/SShC49rpOP
> >
> You may need to install JuliaCall  [&#8618;](https://twitter.com/xieyihui/status/1159185079056445440)

<!-- -->


> **Jack Dougherty** (@DoughertyJack; 1/0): @pubpub @MellonFdn @mitpress @KnowledgeFuture Great to see "Mind the Gap" report on #OA publishing tools and platforms, but surprised that survey did not include #bookdown package by @xieyihui and colleagues at @rstudio. Check out https://t.co/U4ZYkhM6N5 and please update https://t.co/ftcCWy39y0  [&#8618;](https://twitter.com/xieyihui/status/1161383995764092928)

<!-- -->


> **atusy** (@Atsushi776; 1/0): @niszet0 ---
> output: bookdown::word_document2
> ---
> >
> Table \@ref(tab:iris) is about iris.
> >
> \`\`\`{r, echo = FALSE}
> flextable::set_caption(
>   flextable::flextable(iris[1, ]),
>   "Table: (\\#tab:iris) flextable"
> )
> \`\`\`
> >
> です!  [&#8618;](https://twitter.com/xieyihui/status/1159834484990083079)

<!-- -->


> **Nathan Brouwer** (@lobrowR; 1/0): @rborashko I don't use python but I recently saw on the bookdown website a book that showed R and Python in  parallel.  Could be useful.  [&#8618;](https://twitter.com/xieyihui/status/1160605893932793857)

<!-- -->


> **Francisko Rezende** (@francisko_r; 1/0): @Dale_Masch @junglepaul @IamMRWani @nj_tierney @162880 @thomas_mock @veerlevanson @apreshill @xieyihui @rOpenSci Should I be able to knit it into a PDF w/ 
> >
> 'bookdown::render_book("index.Rmd", "bookdown::pdf_book", config_file = "_output.yml")'
> >
> or maybe
> >
> 'bookdown::render_book("index.Rmd", "bookdown::pdf_book")'
> >
> ?
> >
> Sorry for not letting this tread die &amp; thanks again :)  [&#8618;](https://twitter.com/xieyihui/status/1160151375403200512)

<!-- -->


> **Frederik Aust** (@FrederikAust; 1/0): @lnalborczyk @cedricbatailler @brice_beffara That said, if you are willing to write the neccessary LaTeX and HTML/CSS yourself, you can use block2-chunks to create the corresponding outputs across the different output formats: https://t.co/kF2yttpsqo  [&#8618;](https://twitter.com/xieyihui/status/1159803233168179200)

<!-- -->


> **José Antonio León** (@jantleon; 1/0): @SergioBerdiales Sí! Gracias, al final lo haré con bookdown + Netlify. Muy interesantes tus proyectos ;)  [&#8618;](https://twitter.com/xieyihui/status/1159577569944956929)

<!-- -->


> **Evgeny Pogrebnyak** (@PogrebnyakE; 1/0): My intent is to cover:
> - bookdown
> - jupyter-book
> - manubot (why exactly not suported on Windows? what is the pdf rendering engine?)
> - asciidoctor-pdf
> - @distillpub
> - sphinx
> - book theme for @GoHugoIO 
> >
> Is that an exhaustive list of options for requirement above?  [&#8618;](https://twitter.com/xieyihui/status/1159257426090176512)

<!-- -->


> **Murray Cadzow** (@MurrayCadzow; 1/0): @nj_tierney My impression was it was very accessible and does a nice job of blending the information from https://t.co/Jww9RKpP3z and https://t.co/9c9LZJVeqJ into great practicable content  [&#8618;](https://twitter.com/xieyihui/status/1159227608808034305)

<!-- -->


> **Thread Reader App** (@threadreaderapp; 0/2): @seabbs Hola please find the unroll here: Thread by @seabbs: "1. PhD thesis 'Modelling BCG vaccination in the UK: What is the impact of changing policy?' submitted and everything is […]" #rstats #bookdown https://t.co/wdJICAULxv
> Enjoy :) 🤖  [&#8618;](https://twitter.com/xieyihui/status/1160145979972182021)

<!-- -->


> **Greg Tucker-Kellogg** (@gtuckerkellogg; 0/1): @dataandme @hrbrmstr It's certainly strange, but perhaps there is a benign explanation. Both RMarkdown and Bookdown use pandoc markdown as the underlying syntax and pandoc for the conversion engine. Perhaps the authors didn't realise the extent to which RMarkdown and Bookdown deviate from pandoc.  [&#8618;](https://twitter.com/xieyihui/status/1159985666647658498)

<!-- -->


# knitr

> **Shila Ghazanfar** (@shazanfar; 26/2): It's now been 10 years since I was introduced to R!! 🥳🎉 Before RStudio, knitr &amp; Shiny existed. Base plots abounded, RSweave was kinda/sorta a thing (imo). It was a good 2.5 years until I started writing functions though 😅😅
> >
> Here's to the next 10 years! 🥂🥂 #rstats https://t.co/mTsStz4LI1  [&#8618;](https://twitter.com/xieyihui/status/1159132576742879232)

<!-- -->


> **Kirill Müller** (@krlmlr; 19/1): Big kudos to @xieyihui and contributors for making knitr so amazingly customizable. For the side-by-side layout I didn't need to do any copy-pasting! Take a look at the source: https://t.co/VOXCmlnxBz  [&#8618;](https://twitter.com/xieyihui/status/1159918902408880129)

<!-- -->


> **boB Rudis** (@hrbrmstr; 6/2): need to get this into an #rstats {rmarkdown}/{knitr}/{svglite} workflow  https://t.co/cV65XvFlfJ  [&#8618;](https://twitter.com/xieyihui/status/1159500617926217731)

<!-- -->


> **Bryan Jenks** (@Tall_Viking; 4/2): Developed some snippets in @rstudio for #Rmarkdown table writing when knitr::kable() is just overkill, up to 9 column tables with tab stops in column headers and first  row data points with a “t#” syntax where “#” is column count you want. Snippets on my #github  👍🏻📊 https://t.co/2N99CDRE8X  [&#8618;](https://twitter.com/xieyihui/status/1160428827291471872)

<!-- -->


> **at it again** (@TheRealEveret; 3/1): New RMarkdown update: Now only accepts UTF-8 encoded docs.
> >
> New knitr update: Only UTF-8.
> >
> UTF-8 now. UTF-8 forever.
> >
> Windows users: Please set RStudio to encode in UTF-8 by default.
> >
> https://t.co/Ac0KRSYve3 https://t.co/s8bJ5yuyjd  [&#8618;](https://twitter.com/xieyihui/status/1159473788800634883)

<!-- -->


> **Matt Crump** (@MattCrump_; 3/0): @kd_valentine3 @rstudio macro for knitr code chunks
> https://t.co/4Cq49xoRof  [&#8618;](https://twitter.com/xieyihui/status/1159546556841938945)

<!-- -->


> **niszet⋈** (@niszet0; 2/1): 世界のatusy氏によるわかりやすいknitrの解説本はどこで読めるかなぁ  [&#8618;](https://twitter.com/xieyihui/status/1161185552021876736)

<!-- -->


> **Omar Wasow** (@owasow; 2/1): @matloff @MattDowle @hspter @rdpeng Also important to consider incredible body of non-tidy public goods RStudio &amp; co help bring in to the world by supporting folks like @xieyihui. RMarkdown + knitr is much better for student assignments than Sweave. Students engaged with my Xaringan/HTML slides way more Beamer.  [&#8618;](https://twitter.com/xieyihui/status/1159293705309716480)

<!-- -->


> **Christophe Dervieux** (@chrisderv; 2/0): @krlmlr @xieyihui Mad knitr skills ! 👏 Impressive ! A very good real life exemple on how to use knitr hooks ! Thanks.  [&#8618;](https://twitter.com/xieyihui/status/1160293450643836928)

<!-- -->


> **⚽️Ryo Nakagawara📊** (@R_by_Ryo; 2/0): @CedScherer @geokaramanis For me it's the best part of RMD haha! Also use a setup chunk at the top: 
> \`\`\`{r setup, include=FALSE}
> knitr::opts_chunk$set(echo = TRUE, fig.height=6, fig.width=8)
> \`\`\`
> If you know what size you want all your plots to be!  [&#8618;](https://twitter.com/xieyihui/status/1159735225263349760)

<!-- -->


> **atusy** (@Atsushi776; 1/1): よし、 knitr に PR してきた。
> https://t.co/ZgIXNSiPyG  [&#8618;](https://twitter.com/xieyihui/status/1161173224022953984)

<!-- -->


> **Ruby on Rails** (@ruby_o_rails; 1/0): Ruby Algorithm Documentation with AsciiDoc and Knitr
> >
> ☞ https://t.co/2lDgMhI3BF
> >
> #ruby #rubyonrails https://t.co/ACHezhJfAR  [&#8618;](https://twitter.com/xieyihui/status/1161455104207327232)

<!-- -->


> **Carson Sievert** (@cpsievert; 1/0): @jdatap @fruce_ki @rstatstweet It'd help to know more about what you're trying to do, but note that you can:
> >
> subplot(plot_ly(), plot_ly()) %&gt;% 
>   layout(width = 600)
> >
> BTW, in rmarkdown/knitr, you shouldn't have to do this (it should be respecting the `fig.width` option)  [&#8618;](https://twitter.com/xieyihui/status/1161357152482729990)

<!-- -->


> **Mara Averick** (@dataandme; 1/0): @bhive01 @butterflyology @malco_barrett @riannone Yeah. Esp. since I've added the knitr setup chunk to my defaults since then!  [&#8618;](https://twitter.com/xieyihui/status/1161324582772649985)

<!-- -->


> **Kimon Froussios** (@fruce_ki; 0/1): How do you fix it when #knitr says your code causes subscript out of bounds error, but manually executing all the blocks produces no errors whatsoever?
> I'm just trying to extract the assay() from a vst() transformed #DESeq2 object. #rstats  [&#8618;](https://twitter.com/xieyihui/status/1159750417527508992)

<!-- -->


> **CRAN Package Updates** (@CRANberriesFeed; 0/1): CRAN updates: BDgraph GDINA knitr paws.common tmcn https://t.co/y5W2NTKSXT #rstats  [&#8618;](https://twitter.com/xieyihui/status/1159328949245284353)

<!-- -->


# pagedown

> **Paul Oldham #FBPE #RevokeA50** (@junglepaul; 3/0): @IamMRWani @162880 @thomas_mock @veerlevanson @apreshill @xieyihui @rOpenSci @nj_tierney @Dale_Masch When you have an article, reuse Rmd code chunks &amp; data to create a presentation in #xaringan https://t.co/BeMUAkQWtk. Follow @apreshill guide https://t.co/kxEgIss2ur. Use #pagedown https://t.co/1L5L6fVkHr for posters &amp; CVs. Go further at https://t.co/Wb7zYJtvAv  [&#8618;](https://twitter.com/xieyihui/status/1159345726083739650)

<!-- -->


> **Rodrigo Almeida** (@roalme; 1/0): @martinsarmando7 Usa pagedown: https://t.co/gwM1vnrjWQ  [&#8618;](https://twitter.com/xieyihui/status/1160341226266222593)

<!-- -->


# tinytex

> **Mike Treglia** (@MikeTreglia; 12/5): For a while I haven't had to produce pdfs from #rmarkdown... and whenever I would go to I'd remember I didn't have a any form of LaTex on my PC, and I didn't want to be bothered... but I just discovered #rstats tinytex - https://t.co/9nyAJlF4mw - so great!!!  [&#8618;](https://twitter.com/xieyihui/status/1161076519311216641)

<!-- -->


> **John Blischak** (@jdblischak; 2/0): @fellgernon @CDSBMexico Have you tried tinytex? I haven't installed MikTek since I started using it
> >
> https://t.co/S6bAacImh6  [&#8618;](https://twitter.com/xieyihui/status/1161391556991049730)

<!-- -->


> **M R Wani** (@IamMRWani; 1/0): @JoosJulia @thomas_mock @veerlevanson @rosannavhespen Indeed very very helpful. Thank you so much  for this suggestion @JoosJulia. 
> @rosannavhespen RMarkdown now features TinyTex, so it can be used insted of Latex  [&#8618;](https://twitter.com/xieyihui/status/1159359021540753408)

<!-- -->


# xaringan

> **Indrajeet Patil** (@patilindrajeets; 25/7): `demoR` 📦 by @KellyBodwin is going to be such a game-changer for teaching #rstats! 🙌💫😻
> https://t.co/Mw36QrDXj8
> >
> Prepare lesson slides in `xaringan` (https://t.co/D4kBRNsPM5) &amp; then use `demoR` to highlight different parts of the code chunk to emphasize specific lesson points. https://t.co/eRlvOrnFRZ  [&#8618;](https://twitter.com/xieyihui/status/1159904453517967360)

<!-- -->


> **Kelly Bodwin** (@KellyBodwin; 21/2): Minor update:  {demoR} now plays nice with {xaringan}.  🤗
> >
> Show me your beautiful slides!  🥰 https://t.co/oylOFdOrTS  [&#8618;](https://twitter.com/xieyihui/status/1159645418604527616)

<!-- -->


> **Emi Tanaka 🌾** (@statsgen; 18/2): I've been told that the kunoichi theme for #xaringan #rstats is hard so been thinking of a new way to support grid layout. Still WIP but I think the new API is looking cleaner 🧼 Feedback welcome~ https://t.co/NV80eP1CXj  [&#8618;](https://twitter.com/xieyihui/status/1161160003840929792)

<!-- -->


> **Mike Kearney📊** (@kearneymw; 17/0): I still like xaringan but (and I’m sure this is an unpopular take) it doesn’t quite give the same level of ease, flexibility, and polish as PowerPoint.  [&#8618;](https://twitter.com/xieyihui/status/1160587573938524160)

<!-- -->


> **Mike Kearney📊** (@kearneymw; 17/0): So I gave a PowerPoint (i.e., not beamer, xaringan, remark.js, or any other PDF/HTML method) talk for the first time in three years. It was actually quite nice, except I forgot that certain fonts wouldn’t automatically render when projected from someone else’s computer 😅🤷‍♂️🕺  [&#8618;](https://twitter.com/xieyihui/status/1160586602957213696)

<!-- -->


> **kazutan** (@kazutan; 4/0): 最近あまりチェックしてなかったけど、xaringanのthemeが結構増えてた
> https://t.co/Hrn8HPxlmU  [&#8618;](https://twitter.com/xieyihui/status/1159363062731640832)

<!-- -->


> **Rushad Faridi** (@rushadFaridi; 2/1): Hello #rstats folks, while trying the amazing infinite moon reader in RStudio to create an xaringan presentation, I ran into the following error shown in the image. I have reported the full issue here: 
> https://t.co/mT86JJS4dJ
> >
> Any help will be highly appreciated https://t.co/7xcbM7flCi  [&#8618;](https://twitter.com/xieyihui/status/1161259918298497025)

<!-- -->


> **Paul Jeffries** (@ByPaulJ; 1/0): @kearneymw Totally agree! Just taught a Xaringan course a few weeks back, and one of my main disclaimers was that no matter how good your R skills are, you're probably never going to be as fast at flexible aesthetic iteration in Xaringan as you can be in PowerPoint--different use cases!  [&#8618;](https://twitter.com/xieyihui/status/1160588962655875077)

<!-- -->


> **Mitch Henderson** (@mitchhendo_; 1/0): @dsquintana What are your thoughts on the cost:benefit of code generated presentations (e.g. Xaringan package in RMarkdown) compared to PowerPoint?  [&#8618;](https://twitter.com/xieyihui/status/1159421361837621248)

<!-- -->


> **Beatriz Milz** (@BeaMilz; 1/0): Eu fazendo apresentações no xaringan e tentando deixar tudo lindo com css hahaah https://t.co/v0mRSxSmgA  [&#8618;](https://twitter.com/xieyihui/status/1159123394106994690)

<!-- -->


> **atusy** (@Atsushi776; 0/1): 途中から Xaringan のソース読んでて、Pandoc の Lua filter のマニュアルのこと忘れてた。  [&#8618;](https://twitter.com/xieyihui/status/1160492851488153601)

<!-- -->


> **atusy** (@Atsushi776; 0/1): Xaringan のソース見てると
> Pandoc をバイパスするとかいう黒忍術使っててやばい。
> >
> &gt; store md content here (bypass Pandoc)  [&#8618;](https://twitter.com/xieyihui/status/1160452987501727745)

<!-- -->


> **atusy** (@Atsushi776; 0/1): @statsgen Xaringan のソースを見てみましたが、Pandoc をバイパスしているようです。例えば html_document では
> [Red]{style="color: red;"}
> が赤色の "Red" になりますが、
> moon_reader ではそのまま [Red]{style="color: red;"}
>  になってしまいます。
> なので、Syntax の拡張は結構難しそうです。  [&#8618;](https://twitter.com/xieyihui/status/1160452696542855168)

<!-- -->


# yihui.name

> **Dustin Tran** (@dustinvtran; 2/0): @danijarh @markvanderwilk knitr's control output settings may be a helpful reference (https://t.co/7R7WQTzqKw), and knitr more generally. It's highly related and is popular among statisticians. I used it often in grad school for problem sets/finals.  [&#8618;](https://twitter.com/xieyihui/status/1158532485858258944)

<!-- -->


