{
  "title": "Happy to announce that the #rstats/#rspatial package {biscale} for bivariate thematic mapping is now on CRAN! Thanks to @grssnbchr and @angelozehr for developing the workflow and @jscarto for the excellent palettes. All the details are here - https://t.co/INTbQD1kGE https://t.co/qdVK7tA1tb",
  "date": "2019-05-22"
}

# #rstats

> **Christopher Prener** (@chrisprener; 291/79): Happy to announce that the #rstats/#rspatial package {biscale} for bivariate thematic mapping is now on CRAN! Thanks to @grssnbchr and @angelozehr for developing the workflow and @jscarto for the excellent palettes. All the details are here - https://t.co/INTbQD1kGE https://t.co/qdVK7tA1tb  [&#8618;](https://twitter.com/xieyihui/status/1130176728444354568)

<!-- -->


> **Jacob Long** (@jacobandrewlong; 228/64): My new #rstats package, panelr, is now on CRAN. Learn more about this package that has become essential for my workflow with panel data here: https://t.co/1tlwlcA5qc  [&#8618;](https://twitter.com/xieyihui/status/1130489445550043137)

<!-- -->


# blogdown

> **R-Ladies Berlin** (@RLadiesBerlin; 12/4): Want to start a blog? Get some insides of blogdown at our next Meetup #RLadies #rstats https://t.co/Opv5D648lS  [&#8618;](https://twitter.com/xieyihui/status/1129097593848520709)

<!-- -->


> **Pradeep Eranti** (@pradeeperanti; 7/6): #HowTo — "build a website with Blogdown in R" 
> https://t.co/OEaz7W8urz #RStats. 
> >
> Thank you  @xieyihui  [&#8618;](https://twitter.com/xieyihui/status/1130910445425057803)

<!-- -->


> **Benjamin Wolfe** (@BenjaminWolfe; 3/1): @alyssafuward @guacamolebio @hadleywickham @EmilyRiederer If you read @xieyihui's intro to the blogdown package, he walks you through everything you need to know to even create your own #rstats-powered blog, + host it, + connect it to #github, all for free. Writing can help you process, learn, + showcase your work, if you're into that.  [&#8618;](https://twitter.com/xieyihui/status/1130128741013839873)

<!-- -->


> **Alison Hill** (@apreshill; 3/0): @mgwhitfield @BethFTBrockett @thatali_ecol @dralibrowne @Anna_K_speaking @MiriamDobson @plantspipettes @GOESbyJuniper Thank you! My website is built using the blogdown R package. I use the @GoHugoIO academic theme by @georgecushen:
> 🤸🏾‍♂️ demo: https://t.co/nT6cSlAT9q
> 📚 docs: https://t.co/inZWWQ4AJ2
> >
> I have a tutorial for starting: https://t.co/40uBOUSv5p
> >
> Deployed by @Netlify for zero 💵  [&#8618;](https://twitter.com/xieyihui/status/1128769268030427136)

<!-- -->


> **atusy** (@Atsushi776; 2/0): @niszet0 圧倒的にノウハウが不足してますよね……．製本なら blogdown から vivlio sytle 使えるんで，そっちの方が希望を感じます（笑）  [&#8618;](https://twitter.com/xieyihui/status/1130645394482851840)

<!-- -->


> **Alyssa Fu Ward** (@alyssafuward; 2/0): @BenjaminWolfe @guacamolebio @hadleywickham @EmilyRiederer @xieyihui I haven’t heard of blogdown before but I love the idea of being able to quickly make a blog out of the work! Sounds much less hacky than my attempts to copy-paste screenshots of R output and code. 😁  [&#8618;](https://twitter.com/xieyihui/status/1130183940981964800)

<!-- -->


> **nekrum** (@nekrum; 1/0): @tacosdedatos Blogdown de R es muy muy sencillo y se puede usar sobre githubpages  [&#8618;](https://twitter.com/xieyihui/status/1130213097455738880)

<!-- -->


> **jebyrnes** (@jebyrnes; 1/0): @jslefche @JEmmettDuffy @NSilbiger @priyology @Tietjenk @baumlab @SImarineGEO Blogdown!  Although I love the idea of a Way! Hey! Blow the man down! Markup Language.  [&#8618;](https://twitter.com/xieyihui/status/1129513617169235968)

<!-- -->


> **Mike K Smith** (@MikeKSmith; 1/0): @solobasssteve I recommend Hugo and blogdown. https://t.co/szZUlNvpJh  [&#8618;](https://twitter.com/xieyihui/status/1129508509664632832)

<!-- -->


> **Nathan Moore** (@nmoorenz; 1/0): Seventh time lucky! Thanks @dataandme for the blog post because I'm already googling and haven't read far enough through the blogdown book yet, sorry @xieyihui https://t.co/c5yjD3IthA https://t.co/rGBs7zWg5Z  [&#8618;](https://twitter.com/xieyihui/status/1129231843125915648)

<!-- -->


# bookdown

> **Kaan Öztürk** (@mkozturk; 31/0): Python notlarını kitaba nasıl dönüştüreyim, LibreOffice mi LaTex mi diye düşünürken, yine Stoacılar yol gösterdi bana. Markdown it is!
> https://t.co/2iwQZ4Blti https://t.co/tn5MYt7KZW  [&#8618;](https://twitter.com/xieyihui/status/1130558704196214785)

<!-- -->


> **Brooke Watson** (@brookLYNevery1; 14/0): @ludmila_janda 🤩
> >
> I DID NOT KNOW ABOUT THIS 
> https://t.co/GqttrYdrVI  [&#8618;](https://twitter.com/xieyihui/status/1128848296418713600)

<!-- -->


> **Jon Huang** (@jon_y_huang; 12/2): @MaartenvSmeden After trying standard pres options, I prefer xaringan: https://t.co/CyBAisyjml  [&#8618;](https://twitter.com/xieyihui/status/1130740578637926401)

<!-- -->


> **Martin John Hadley (they/them)** (@martinjhnhadley; 8/2): Is there a magical mix of xaringan and bookdown I can use to produce teaching slides which get flattened into bookdown chapters? #rstats #rmarkdown
> >
> Why? Vertical scrollbars in teaching slides are death.  [&#8618;](https://twitter.com/xieyihui/status/1130767085892714497)

<!-- -->


> **atusy** (@Atsushi776; 8/2): 知ってたか？ R Markdown: The Definitive Guide にパワポ出力のドキュメント追加されてるんだぜ……!!
> https://t.co/md4RdPKUtn  [&#8618;](https://twitter.com/xieyihui/status/1129959877281964032)

<!-- -->


> **Dr. Sam Tyner** (@sctyner; 7/3): Anyone know of a way to render the "shortauthor" option from biblatex in #bookdown HTML form? I need something like [@ibm:2014] to render as (IBM 2014) but leave the author as International Business Machines in the References. #latex #rmarkdown #rstats https://t.co/iSTsQNkfjf https://t.co/AMr6F7ygy0  [&#8618;](https://twitter.com/xieyihui/status/1129473126423597056)

<!-- -->


> **Joon An** (@joonomics; 5/2): The Bookdown project is something useful. I am going to teach the data science for biologist next semester using three amazing textbooks. Rafa's DS https://t.co/QvQJW0ZgDV Holmes and Huber's mordern stats https://t.co/mfdldy4Jd1 and Wilke's Viz https://t.co/Mm585FQPVo  [&#8618;](https://twitter.com/xieyihui/status/1129003763644059650)

<!-- -->


> **Statisticians and Data Scientists** (@statsanddatasci; 5/1): 📚Interactive web-based data visualization with #Rstats, #plotly, and #shiny - Carson Sievert👇
> #bookdown: https://t.co/i96e0mUQi0
> #PDF: https://t.co/pHMJO3t7Cm
> >
> #DataViz #visualizacióndedatos #datavisualization https://t.co/En4ZoHn1Vl  [&#8618;](https://twitter.com/xieyihui/status/1131036195759316992)

<!-- -->


> **Amit Indap 🏊🏽🌵🌊** (@aindap; 4/1): What is a pirate's favorite statistical programming language/environment? https://t.co/KQGzeV3RnZ #Rstats  [&#8618;](https://twitter.com/xieyihui/status/1128715514648285184)

<!-- -->


> **Aaron R. Williams** (@awunderground; 3/1): I make a lot of reveal js presentations in R Markdown. I just learned how easy it is to change individual slide colors and backgrounds:
> >
> ## Slide title {data-background = #1696d2}
> >
> https://t.co/9IVy89ZAyX #rstats  [&#8618;](https://twitter.com/xieyihui/status/1131186993407434753)

<!-- -->


> **Statisticians and Data Scientists** (@statsanddatasci; 3/1): 📄How to Build a #Shiny Application from Scratch👇
> https://t.co/gPwov1acR8
> >
> #Rstats #bookdown https://t.co/yo7IVv3PXA  [&#8618;](https://twitter.com/xieyihui/status/1131030077037322242)

<!-- -->


> **藤原惟📕Markdownライティング入門** (@skyy_writing; 2/2): この資料、やべえな……。一部分はPandocの解説とも読める。（ただR部分との切り分けは難しいかも）
> >
> R Markdown: The Definitive Guide
> https://t.co/xJSPwWViUu  [&#8618;](https://twitter.com/xieyihui/status/1129963984382091264)

<!-- -->


> **Robert Osazuwa Ness** (@osazuwa; 2/0): @logangraham Lecture notes (work in progress)
> https://t.co/8D9pQJ1UlM
> @lizziesilver  [&#8618;](https://twitter.com/xieyihui/status/1130866687291609089)

<!-- -->


> **Eric Green** (@ericpgreen; 1/1): Know CSS and #Rmarkdown? Please see my new "gig" on @rstudio community: https://t.co/3YM40ZuBSs Looking for some template help! #rstats https://t.co/vA3PZjy60D  [&#8618;](https://twitter.com/xieyihui/status/1129101689280241665)

<!-- -->


> **David Keyes** (@dgkeyes; 1/0): @MattDabrowski @rstats4ds Also check out https://t.co/het2q67zlu  [&#8618;](https://twitter.com/xieyihui/status/1130617133614764033)

<!-- -->


> **atusy** (@Atsushi776; 1/0): @cbt_test 手元でリビルドしたところ表示できました．
> https://t.co/iaaakV8W9z
> docs/bookdownの体験_files/ が git で追跡されてないのが問題っぽいですね． https://t.co/0UkB5ppfrp  [&#8618;](https://twitter.com/xieyihui/status/1129947073074409472)

<!-- -->


> **Robert M Flight** (@rmflight; 1/0): @StefanieButland @EmilyRiederer @rOpenSci @wmlandau @gittaca @bikesRdata @patilindrajeets @hadleywickham @ma_salmon I would think creating PDF from the bookdown wouldn't be too hard, and then printing via leanpub ...  [&#8618;](https://twitter.com/xieyihui/status/1129819606166704133)

<!-- -->


> **MH Manuel Haqiqatkhah** (@_psyguy; 1/0): .@APA_Style'ing hinders scientific progress noticeably—we would have already found the universal cure for depression if we didn't have to waste lives on s***
> #bookdown doesn't do apa6, #papaja's killing me &amp; the assessor: "Our field being psychology, please do use APA style"
> 😑🔫  [&#8618;](https://twitter.com/xieyihui/status/1129021284921335809)

<!-- -->


> **Matthew Kay** (@mjskay; 1/0): @elanio_herrador @ClausWilke I believe @ClausWilke wrote the book in bookdown, so perhaps it is possible to look at the source code to see how the figures are generated  [&#8618;](https://twitter.com/xieyihui/status/1128708876206006274)

<!-- -->


> **Sergio Berdiales** (@SergioBerdiales; 0/1): El gráfico está hecho con R. Podéis ver el detalle y el código aquí: https://t.co/8Pz3xr9BNs #rstats #dataviz #JuegodeTronos8x06  [&#8618;](https://twitter.com/xieyihui/status/1130563338281410560)

<!-- -->


# knitr

> **Brooke Watson** (@brookLYNevery1; 137/4): imho the most underrated thing about knitr is that sometimes when you knit a report to html for a #stakeholder, they will refer to it as "the website you made," and ask to share said website with their colleagues  [&#8618;](https://twitter.com/xieyihui/status/1128821722038382594)

<!-- -->


> **Emily Riederer** (@EmilyRiederer; 21/2): TIL* about knitr's `cat` engine thanks to @chrisderv . Very elegant solution for making on-the-fly temp files in RMarkdown that can be referenced from other chunks! (Among other things, but this was my use case)
> >
> https://t.co/X8EfXqnboJ
> >
> *yesterday https://t.co/Zg1eDd8mNe  [&#8618;](https://twitter.com/xieyihui/status/1129000879485587458)

<!-- -->


> **atusy** (@Atsushi776; 19/4): knitr に足した fn エンジンが footnote 書くのに便利過ぎてやばい．
> チャンクをアウトラインに表示させる設定にしとくと超快適． https://t.co/KSPzNW8PN9  [&#8618;](https://twitter.com/xieyihui/status/1129937527211798529)

<!-- -->


> **Nicholas Tierney** (@nj_tierney; 6/0): @jtrnyc #rstats knitting crossover: I just learned to knit on the weekend, and talking to @robjhyndman about this - he pointed out the purl command from knitr - which does the opposite of knitting a document - producing R code instead.  Well played, @xieyihui  [&#8618;](https://twitter.com/xieyihui/status/1130672758134730752)

<!-- -->


> **R-Ladies Melbourne** (@RLadiesMelb; 5/2): From #LaTeX to #Sweave to #GNU to #knitr - the history of reproducibility in #rstats https://t.co/RFFtuDL3CD  [&#8618;](https://twitter.com/xieyihui/status/1131114910048370688)

<!-- -->


> **Alexia Jolicoeur-Martineau** (@jm_alexia; 3/0): When using knitr with R, it was converting my "é" into non-UTF-8 characters. I wish non-english languages where better dealt with.  [&#8618;](https://twitter.com/xieyihui/status/1130107740850987009)

<!-- -->


> **atusy** (@Atsushi776; 3/0): マージされた。
> https://t.co/GsVmEX3jJa
> https://t.co/tUbhDYPT8B  [&#8618;](https://twitter.com/xieyihui/status/1129520045107769344)

<!-- -->


> **atusy** (@Atsushi776; 2/1): knitr に PR したわけではないので，ご利用は atusy/atusydown からゼヒ!  [&#8618;](https://twitter.com/xieyihui/status/1129938017785769984)

<!-- -->


> **Johannes Textor** (@JohannesTextor; 2/0): @MaartenvSmeden If you're using LaTeX: combining beamer &amp; knitr works very well for me. I use this for all my lectures &amp; presentations with embedded R code.  [&#8618;](https://twitter.com/xieyihui/status/1130838468060471297)

<!-- -->


> **Cédric Scherer** (@CedScherer; 2/0): @KorayTascilar @minde1even @R4DScommunity @rstudio @dataandme Indeed, it is hidden due to the knitr option - you can see it in the last section with the full code - or inherited from a previously saved gg object  [&#8618;](https://twitter.com/xieyihui/status/1129500515916832774)

<!-- -->


> **Jake Kaupp** (@jakekaupp; 2/0): @harrocyranka Many options exist.  I usually use kable from knitr and add additional styling with kableExtra  [&#8618;](https://twitter.com/xieyihui/status/1128674577469595649)

<!-- -->


> **Simon Grund** (@simongrund89; 1/2): @johartig @rstudio Vaguely remember seeing something similar once. The cause for me was a version mismatch between knitr and pandoc. Are all packages up to date (knitr, rmarkdown, ...)? RStudio? Local pandoc install (if any)?  [&#8618;](https://twitter.com/xieyihui/status/1129121997651365888)

<!-- -->


> **Elio Campitelli** (@d_olivaw; 1/0): Reading things like these reignite my want for learning to knit. I still don't have the patience. :'( (other than using #knitr)
> >
> ‘Knitting Is Coding’ and Yarn Is Programmable in This Physics Lab 
> >
> https://t.co/vJvxwAQKjd  [&#8618;](https://twitter.com/xieyihui/status/1131200551365091328)

<!-- -->


> **Benjamin Wolfe** (@BenjaminWolfe; 1/0): @EmilyRiederer I'm intrigued and maybe inspired by your #github forks of #knitr + #xaringan. (Github randomly told me about them since I started following your work.)
> >
> Is the idea that you might try developing something new, and see if you could get it folded into the original?  [&#8618;](https://twitter.com/xieyihui/status/1130564964274458624)

<!-- -->


> **Benjamin Wolfe** (@BenjaminWolfe; 1/0): @alyssafuward @guacamolebio @hadleywickham @EmilyRiederer @xieyihui @dataandme @JennyBryan @CMastication @WeAreRLadies @djnavarro @thomas_mock @R4DScommunity @rdpeng @jtleek @coursera @rstudio @guacamolebio if you haven't tried using R Markdown in general, that's a *ginormous* game-changer in terms of reproducible research and literate programming.
> >
> BTW I see that you're a knitter. You might like the name of one of the main packages used for R Markdown, knitr.  [&#8618;](https://twitter.com/xieyihui/status/1130213071958544390)

<!-- -->


> **atusy** (@Atsushi776; 1/0): できれば Rmd definitive guide に knitr を統合して欲しいなあ．  [&#8618;](https://twitter.com/xieyihui/status/1129748604523089921)

<!-- -->


> **atusy** (@Atsushi776; 1/0): knitr が Travis CI でコケるバグ直ったので，みんなどんどん PR しような．  [&#8618;](https://twitter.com/xieyihui/status/1129018210412404736)

<!-- -->


> **Pablo M. Rodriguez** (@pabrodez; 1/0): @chrismainey Maybe changing device would work knitr::opts_chunk$set(dev='CairoPNG')  [&#8618;](https://twitter.com/xieyihui/status/1128573890140225536)

<!-- -->


> **atusy** (@Atsushi776; 0/1): @cbt_test index.html の YAML 直下で，
> knitr::opts_chunk$set(fig.path = "_figures/")
> を唱えると，画像の保存先を指定できるので，パス問題を解決できそうですね．
> 参考: https://t.co/j2MRLXzMmS  [&#8618;](https://twitter.com/xieyihui/status/1129957057522651136)

<!-- -->


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

<!-- -->


# pagedown

> **Romain Lesur** (@RLesur; 1/0): @coreypembleton @uRosconf If you haven't seen it yet, watch @xieyihui's talk at #rstudioconf2019 on #pagedown https://t.co/y2wzBK6L0X  [&#8618;](https://twitter.com/xieyihui/status/1130198461217951746)

<!-- -->


# xaringan

> **R-Ladies São Paulo** (@RLadiesSaoPaulo; 17/7): Ontem a @BeaMilz e a @hsvab apresentaram um workshop no IV SER e #RLadies Niterói, com o tema: Comunicando seus resultados - Criando apresentações com R. O material está disponível em https://t.co/phpp6PPYn5 💜 #SER #UFF #rstats #xaringan #rmarkdown  [&#8618;](https://twitter.com/xieyihui/status/1130818215188287488)

<!-- -->


> **Paloma RS.** (@palolili23; 11/0): @MaartenvSmeden Xaringan is the best! @apreshill shows how cool they can be here: https://t.co/3ChJkOS77w Plus the package xaringanthemer by @grrrck is so helpful to personalize colors, fonts and other details without going to the css file.  [&#8618;](https://twitter.com/xieyihui/status/1130834634286227456)

<!-- -->


> **Chris Mainey** (@chrismainey; 9/4): Really nice post by @grrrck on separating code and output in #xaringan slides. https://t.co/Q6nnVX38oE  [&#8618;](https://twitter.com/xieyihui/status/1128572588555423744)

<!-- -->


> **R-Ladies Melbourne** (@RLadiesMelb; 9/0): Xaringan is an easy way to create portable #rstats slides
> - @MrsLaviniaG https://t.co/BJi0aBWIZt  [&#8618;](https://twitter.com/xieyihui/status/1131124521736450048)

<!-- -->


> **Tiffany Timbers** (@TiffanyTimbers; 7/0): Upping my Rmardown xaringan knowledge/skills as I create my talks for #SSC and @SDSSconf, and just discovered there is a live preview of your slides inside @rstudio now!! AMAZING!!!
> >
> https://t.co/jdDej7HZpa
> >
> #rstats  [&#8618;](https://twitter.com/xieyihui/status/1130924052971810816)

<!-- -->


> **Chris Engelhardt** (@EngelhardtCR; 6/1): Please don't worry, @xieyihui, I won't show my son `xaringan::inf_mr()` (https://t.co/bsBJOpgEhq) until I think he can use it responsibly 😂. Thanks for thinking of me and my keyboard! P.S. I think he will be thrilled he got a shout-out in your #rstats docs. https://t.co/yHKmb7hQpj  [&#8618;](https://twitter.com/xieyihui/status/1130874161717555200)

<!-- -->


> **Corinne Riddell** (@datavisitor; 2/0): @jon_y_huang @MaartenvSmeden Is it easy to learn? I have been using the simpler slide outputs but some students are requesting some pizzazz. The name Xaringan sounds so unapproachable to me  [&#8618;](https://twitter.com/xieyihui/status/1130832896556593156)

<!-- -->


> **Malcolm Barrett 🦁🐻** (@malco_barrett; 2/0): @EngelhardtCR @USCBiostat Thanks! Yeah, that's a mix of custom CSS and a few techniques I picked up from other xaringan styles (@xieyihui will appreciate that that's why I call this theme "kakashi CSS: copy shinobi style", which I plan to PR to xaringan ~next week)  [&#8618;](https://twitter.com/xieyihui/status/1129464484194422784)

<!-- -->


> **Dr. Sam Tyner** (@sctyner; 1/0): @martinjhnhadley This seems very possible. I’m imagining a script that takes class:inverse slides from xaringan and makes those chapter files, then each slide title (# title) becomes a subsection in the chapter.  [&#8618;](https://twitter.com/xieyihui/status/1130840116170252290)

<!-- -->


> **Alessandro Gasparini** (@ellessenne; 1/0): @jon_y_huang @MaartenvSmeden +1, {xaringan} is great and it has built-in themes too!  [&#8618;](https://twitter.com/xieyihui/status/1130761895345119232)

<!-- -->


> **Emily Riederer** (@EmilyRiederer; 1/0): @BenjaminWolfe Hence my xaringan fork. However, it's never really mad it to the top of my list to work on, so I should probably delete the fork for now. (That said, as a taRheel, I am troubled there's a Duke theme but no UNC... 😋)
> >
> (7/n)  [&#8618;](https://twitter.com/xieyihui/status/1130671865419186177)

<!-- -->


> **Chris Mainey** (@chrismainey; 1/0): @pabrodez Thanks, that was a good shout. Turns out that I'm an idiot, and my main problems was images going over the page in xaringan slides and Chrome not knowing how to paginate it when printing to PDF. Scaled my images better and no problem.  [&#8618;](https://twitter.com/xieyihui/status/1128932325566361600)

<!-- -->


> **Leonard Kiefer** (@lenkiefer; 1/0): @surlyurbanist xaringan -&gt; html -&gt; print to pdf works pretty well if you need a file  [&#8618;](https://twitter.com/xieyihui/status/1128761175431426049)

<!-- -->


# yihui.name

> **Yihui Xie** (@xieyihui; 14/1): @EvanKaeding @rOpenSci In case you are curious about "somehow": https://t.co/wZefvHxMSR :)  [&#8618;](https://twitter.com/xieyihui/status/1128874910791684096)

<!-- -->


