{
  "title": "#TidyTuesday Week 2020/31 🐧 Palmer Penguins Back to basics. Saw these fancy boxplots in @Tableau and here is the #ggplot2 version. Also, since people kept mentioning raincloud plots as an alternative to my ggplot evol jitter plot, here you go! #r4ds #rstats #tidyverse #dataviz https://t.co/A094W6vK9I",
  "date": "2020-07-29"
}

# #rstats

> **Cédric Scherer** (@CedScherer; 380/46): #TidyTuesday Week 2020/31 🐧 Palmer Penguins
> >
> Back to basics. Saw these fancy boxplots in @Tableau and here is the #ggplot2 version. Also, since people kept mentioning raincloud plots as an alternative to my ggplot evol jitter plot, here you go!
> >
> #r4ds #rstats #tidyverse #dataviz https://t.co/A094W6vK9I  [&#8618;](https://twitter.com/xieyihui/status/1288181995714093057)

<!-- -->


> **Milos Popovic/Милош Поповић** (@milos_agathon; 357/96): How far is the national motorway from every settlement in
> >
> 🇭🇷Croatia
> 🇲🇰N. Macedonia
> 🇷🇸Serbia
> and 🇸🇮Slovenia?
> >
> #motorway #road #infrastructure #dataviz #datascience #BigData #geospatial #maps #rstats https://t.co/CS3RPSopj9  [&#8618;](https://twitter.com/xieyihui/status/1288117991138160640)

<!-- -->


> **Georgios Karamanis** (@geokaramanis; 284/31): Palmer penguins for #TidyTuesday, happy to get the penguins almost right with geom_bspline_closed() from {ggforce}😊
> >
> code: https://t.co/hMkXknndRp
> >
> #dataviz #RStats https://t.co/Zk2lYwqi3G  [&#8618;](https://twitter.com/xieyihui/status/1288087133694066688)

<!-- -->


> **Andrew J. Stewart** (@ajstewart_lang; 262/141): Interested in learning #rstats in the context of #OpenResearch and #Reproducibility? I’m happy to share 10 workshops I've written for R learners with lots of videos taking you through things step-by-step.  1/2  [&#8618;](https://twitter.com/xieyihui/status/1288138631887179777)

<!-- -->


> **Tom Mock** (@thomas_mock; 203/34): A little #RStats {@apachearrow} test since they just had a 1.0 release!
> >
> A filtered summary from 328 MILLION observations in about... 100 ms!
> >
> All years summarized in about 500 ms!
> >
> Code: https://t.co/KfFvApWNgU
> >
> Arrow Site: https://t.co/YhpbmT6eYd
> >
> #nflscrapR #arrow https://t.co/2mpfhwstih  [&#8618;](https://twitter.com/xieyihui/status/1288108195030810625)

<!-- -->


> **Dr. Ganapathi Pulipaka** (@gp_pulipaka; 130/90): Deep Learning From Scratch. #BigData #Analytics #DataScience #IoT #IIoT #PyTorch #Python #RStats #TensorFlow #Java #JavaScript #ReactJS #GoLang #CloudComputing #Serverless #DataScientist #Linux #Books #Mathematics #Programming #Coding #100DaysofCode 
> https://t.co/oA3Yuezywi https://t.co/DOf5wdC5Yl  [&#8618;](https://twitter.com/xieyihui/status/1288352066868596742)

<!-- -->


> **Dr. Ganapathi Pulipaka** (@gp_pulipaka; 122/108): 6 Free Books to Start your Python journey. #BigData #Analytics #DataScience #IoT #IIoT #Python #RStats #JavaScript #ReactJS #CloudComputing #Serverless #DataScientist #Linux #Mathematics #Books #Programming #Coding #100DaysofCode 
> https://t.co/nwAEurrIc6 https://t.co/Gb8UA9JapR  [&#8618;](https://twitter.com/xieyihui/status/1288226292324806656)

<!-- -->


# blogdown

> **David Neuzerling** (@mdneuzerling; 40/1): I just gave a presentation on static sites and making a blog with R, and it was a disaster. I misconfigured Netlify, and then I couldn’t get pictures to appear in blogdown. Afterwards realised I was knitting the posts instead of clicking “Serve site”. I’m so embarrassed.  [&#8618;](https://twitter.com/xieyihui/status/1286168304185303040)

<!-- -->


> **R posts you might have missed!** (@icymi_r; 21/7): ✍️ "Creating Responsive Elements for an R/Blogdown Web Page"
> >
> 👤 Houston Haynes @h3techdev
> >
> https://t.co/EjVbxSusbE
> #rstats https://t.co/adFAE9ntKG  [&#8618;](https://twitter.com/xieyihui/status/1288067711419977728)

<!-- -->


> **Eric Fletcher** (@iamericfletcher; 18/3): This #TidyTuesday, I created my first ever #blog using blogdown and Hugo! I think the initial version looks good, but I would love to learn how to add a Twitter card in the meta. Any suggestions?
> >
> #Penguins #r4ds #DataScience #DataViz #tidyverse #ggplot2
> >
> https://t.co/HKcprjjKH1  [&#8618;](https://twitter.com/xieyihui/status/1288159088669597696)

<!-- -->


> **Danielle Navarro** (@djnavarro; 17/3): A question for my #rstats friends. I've mentioned before that I've been writing a Hugo theme suitable for easy integration with blogdown &amp; hugodown. It produces sites like this: 
> >
> https://t.co/N8boiwCTEX 
> >
> It seems clear to me that this kind of site is useful... (1/2)  [&#8618;](https://twitter.com/xieyihui/status/1287864677901328384)

<!-- -->


> **Connor Rothschild** (@CL_Rothschild; 16/3): New post on how to animate your #HugoAcademic homepage 🚀 https://t.co/hZ9RQt4Pfg 
> >
> #MadeWithAcademic #GoHugo #rstats #blogdown https://t.co/fqYzoprSsR  [&#8618;](https://twitter.com/xieyihui/status/1287409482977419264)

<!-- -->


> **Tom Mock** (@thomas_mock; 8/1): 2 - Data Product
> >
> Generate all sorts of fancy outputs from RMarkdown, such as:
> - Presentations (Powerpoint or web native like remark.js)
> - Dashboards w/ flexdashboards
> - Reports as HTML, PDF, Word, etc
> - Entire websites w/ blogdown, hugodown, distill https://t.co/Y6Qmz6cUoW  [&#8618;](https://twitter.com/xieyihui/status/1287740161485410305)

<!-- -->


> **Zhi Yang, PhD** (@zhiiiyang; 7/0): @mdneuzerling I would do the same thing as well if I didn’t  go to the blogdown workshop where Alison repeatedly emphasized that please don’t click the knit button.  [&#8618;](https://twitter.com/xieyihui/status/1286172342268252160)

<!-- -->


> **Tom Mock** (@thomas_mock; 5/0): @_johnmackintosh To be fair, I have spent many a night breaking my old websites!
> >
> I remember asking @kierisi for lots of help trying to get my {blogdown} site off the ground. I love {blogdown} but have personally settled on {distill}, which I still owe @ma_salmon a post on...  [&#8618;](https://twitter.com/xieyihui/status/1287857587208228864)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 3/2): Edit a Blog post in Blogdown lithium after choosing serve_site option #tidyverse #rstats https://t.co/wpwjqLOUao  [&#8618;](https://twitter.com/xieyihui/status/1287567202108026881)

<!-- -->


> **Dustin Haraden** (@DustinHaraden; 3/0): @rbkeeney @asmae_toumi I put some resources together for making a site in Hugo using blogdown
> >
> Check it out: https://t.co/4a8XNdN4Pv
> >
> Maybe it will help. Maybe it won't. I'm just a stranger on the internet. You got this https://t.co/N2Jnvagr45  [&#8618;](https://twitter.com/xieyihui/status/1288255663098023939)

<!-- -->


> **David Neuzerling** (@mdneuzerling; 3/0): @zhiiiyang I had a few hiccoughs in the transition, but I somehow scraped together enough R knowledge to submit some PRs and get those fixed. It's a bit rougher than Blogdown, but I really like the knitting workflow . I also like how it automatically links R functions to their docs.  [&#8618;](https://twitter.com/xieyihui/status/1286173545802809345)

<!-- -->


> **Tyler Smith** (@sedgeboy; 2/2): Q for #blogdown users: `build_site` recompiles *all* Rmd files; `hugo_build` doesn't recompile *any* Rmd files. Is there a way to recompile only Rmd files that are *newer* than their html?
> >
> #rmarkdown #rstats  [&#8618;](https://twitter.com/xieyihui/status/1287831874900033536)

<!-- -->


> **Joshua de la Bruere** (@delaBJL; 2/0): @asmae_toumi @JosiahParry Can you update to 2.6? That's the version that added support for task list according to the bookdown book
> >
> https://t.co/a8dX3HwYyi  [&#8618;](https://twitter.com/xieyihui/status/1286866437362061318)

<!-- -->


> **Maëlle Salmon** (@ma_salmon; 2/0): @OscarBaruffa @zhiiiyang @mdneuzerling I would do the same mistake with blogdown  [&#8618;](https://twitter.com/xieyihui/status/1286180745032146949)

<!-- -->


> **rstats tips** (@rstats_tips; 1/2): Just found out how to handle errors within #blogdown pages. So I won‘t forget it I wrote a short text. #rstats  https://t.co/lr3SaoL7ln  [&#8618;](https://twitter.com/xieyihui/status/1287362652709191681)

<!-- -->


> **Alison Presmanes Hill** (@apreshill; 1/1): @asmae_toumi @JosiahParry why is your blogdown trying to use pandoc anyway? 🤒 Does .Rmarkdown knit to .markdown for you? And I'm personally sorry- these errors are so frustrating to debug.  [&#8618;](https://twitter.com/xieyihui/status/1286867189115453442)

<!-- -->


> **Rasmus Munksgaard** (@RasmusMunks; 1/1): @CommCrim For anyone needing a distraction, R, blogdown and Hugo are introduced here https://t.co/cU7cI8LbB2 If you're just looking to have a maintainable CV online it's quite easy.  [&#8618;](https://twitter.com/xieyihui/status/1285999897741864961)

<!-- -->


> **Tim Tiefenbach** (@TimTeaFan; 1/0): @BenjaminWolfe In blogdown this is working fine. https://t.co/cMU82sBcqk  [&#8618;](https://twitter.com/xieyihui/status/1288265683105730560)

<!-- -->


> **Tanner Koomar** (@TannerKoomar; 1/0): Code for the plot itself is here: https://t.co/27X2kL7w5Q
> >
> P.S. Anyone with more experience in {blogdown} know what specific setting I need to get embedded figures to always scale properly? Should I be using .Rmarkdown instead of .Rmd?  [&#8618;](https://twitter.com/xieyihui/status/1288132562150461440)

<!-- -->


> **JD Long** (@CMastication; 1/0): @thomas_mock @ma_salmon @MilesMcBain There’s no automatic migration tool from {blogdown} to {distill} is there? Looks like each RMD needs editing... and I have some pure MD pages. Can of worms?  [&#8618;](https://twitter.com/xieyihui/status/1288075544286965762)

<!-- -->


> **Ellis Hughes** (@ellis_hughes; 1/0): @thomas_mock @CMastication Intrigued. Already somehow broke my blogdown site... I cant add new posts and it reruns all my code every time I try to deploy.  [&#8618;](https://twitter.com/xieyihui/status/1287938844214493185)

<!-- -->


> **markets are efficient iff P = NP** (@t6aguirre; 1/0): Que tal criar um blogzinho com o Blogdown? — Eu tenho pensando em fazer isso, anon. Ou, ao menos, dar nova cara ao meu blogzinho e mantê-lo ativo https://t.co/68tfoUeL37  [&#8618;](https://twitter.com/xieyihui/status/1287450911250489351)

<!-- -->


> **Chris Prener** (@chrisprener; 1/0): @stlouist @And__Ark @CoreySparks1 Yes! I use the blogdown package for R, which builds websites using Hugo.  [&#8618;](https://twitter.com/xieyihui/status/1287129999028494347)

<!-- -->


> **demian zayat** (@demzayat; 1/0): @ramiroau @vazquezbrust Alto sitio! Me gusto mucho. Por unos pocos dólares al año netlify te permite ponerle un dominio customizado! Adhiero lo del tutorial para hacer webs con Blogdown o lo que uses! Abrazooo  [&#8618;](https://twitter.com/xieyihui/status/1286302902643052548)

<!-- -->


> **David Neuzerling** (@mdneuzerling; 1/0): @zhiiiyang “Rougher” in this case just means newer, and doesn’t have the benefit of time that Blogdown has.  [&#8618;](https://twitter.com/xieyihui/status/1286174796217118721)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): Some 'Featured Publications' missing from blogdown site #tidyverse #rstats https://t.co/ceRwRL6Iin  [&#8618;](https://twitter.com/xieyihui/status/1288010130622226432)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): Change size of image in Blogdown https://t.co/Qc96X7HeVp file inserted via Insert image Addin #tidyverse #rstats https://t.co/tJDgjoQxnu  [&#8618;](https://twitter.com/xieyihui/status/1287988761863872512)

<!-- -->


# bookdown

> **emre toros** (@emretoros; 175/16): Akademik araştırmalarında veri olarak metin ile çalışıp (söylem analizi, eleştirel söylem analizi vb.), sürüden ayrılmak isteyenler için gelsin... 
> >
> Supervised Machine Learning for Text Analysis in R https://t.co/O7KYDWSiCn #rmarkdown #bookdown  [&#8618;](https://twitter.com/xieyihui/status/1286543080724803584)

<!-- -->


> **Elaine McVey** (@eamcvey; 89/17): I just used custom divs for the first time to style parts of my very boring RMarkdown doc after reading this blogpost from @dcossylè and it was unreasonably exciting. So much payoff for such minimal effort!Making pretty note boxes | Desirée De Leon https://t.co/OyMhss4SZk  [&#8618;](https://twitter.com/xieyihui/status/1288237702261997569)

<!-- -->


> **Alison Presmanes Hill** (@apreshill; 69/8): This is my hot take on #rmarkdown templates. 
> >
> SUCH high payoff- if you think making an R package should be taught early, adding an Rmd template to your package is nice for beginners + quite empowering (right @allison_horst 😇??)
> >
> https://t.co/3ts9kTdV4E https://t.co/HSoWspw9Q0 https://t.co/dqaT0KGyc2  [&#8618;](https://twitter.com/xieyihui/status/1286093933718560769)

<!-- -->


> **R for Research 👨🏾‍💻📊** (@rforresearch; 24/10): Just finished (first draft) converting R for Research notes to bookdown and a gitbook. Yes it has a section on visualising #COVID19  data! #rstats #markdown #bookdown @aksingh1985 available here https://t.co/YZKmXUtSLj
>  Next is Financial Modelling notes! https://t.co/Lu0vsIEpgh  [&#8618;](https://twitter.com/xieyihui/status/1287638909464113154)

<!-- -->


> **R posts you might have missed!** (@icymi_r; 18/5): 📚 "Chapter 7 xaringan Presentations | R Markdown • The Definitive Guide"
> >
> 👤 Yihui Xie @xieyihui  
> >
> https://t.co/Nbi2H5UfYy
> #rstats https://t.co/GgGtbu5GjV  [&#8618;](https://twitter.com/xieyihui/status/1286704740278112257)

<!-- -->


> **emre toros** (@emretoros; 15/1): bir de tabi basit başlangıç için https://t.co/IAOZg3aDYC kısmına bakılabilir (warning: includes shameless self promotion 🕺  [&#8618;](https://twitter.com/xieyihui/status/1286584637377187840)

<!-- -->


> **Federico Pianzola** (@fpianz; 14/2): Next semester I'm going to teach a literature course using social annotation and a digital anthology of short stories that I edited. I considered a few options (e.g. @pressbooks or Wordpress with @cpcore) but then decided to use @rstudio Bookdown with @hypothes_is 1/  [&#8618;](https://twitter.com/xieyihui/status/1287544058999537665)

<!-- -->


> **Thomas Conti** (@ThomasVConti; 11/0): Será que no Brasil é possível manter um livro online em acesso aberto no formato bookdown e conseguir uma versão impressa com alguma editora? Alguém já tentou algo similar?  [&#8618;](https://twitter.com/xieyihui/status/1286045100951445511)

<!-- -->


> **Emily Riederer** (@EmilyRiederer; 10/1): @canoodleson Here's an explanation of a few different ways to apply CSS to an RMarkdown: https://t.co/QZVIyakvhO
> >
> The real trick is figuring out what elements to apply it to. For that, a few good resources are opening Rmd in browser and using Developer Tools (https://t.co/O0WpYr7Ozw) (1/2)  [&#8618;](https://twitter.com/xieyihui/status/1286770469819920384)

<!-- -->


> **filíp** (@philippeheymans; 10/0): swirl es una interfaz dentro del mismo R para aprender de forma intercativa, y este curso particularmente se basa en este libro, ambos de acceso gratuito: https://t.co/cEFUsspqPU  [&#8618;](https://twitter.com/xieyihui/status/1287796845742366723)

<!-- -->


> **Tom Mock** (@thomas_mock; 9/2): @CMastication Basic idea is that it provides:
> - a preview option (kind of like Xaringan::inf_mr())
> - can execute individual chunks independently of others
> >
> https://t.co/XIWBrEYCjt  [&#8618;](https://twitter.com/xieyihui/status/1286975568446136320)

<!-- -->


> **Mikhail Popov** (@bearloga; 7/0): Wanna learn how to make your own {knitr} engine? Check out:
> - https://t.co/VubdBt0IpI
> - built-in engines https://t.co/D4RCnck57n
> - {reticulate}'s engine for Python: https://t.co/yJp9yS0Krf
> - {dotnet}'s engine for C# &amp; F#: https://t.co/riRYDFd9kK  [&#8618;](https://twitter.com/xieyihui/status/1288487190591410177)

<!-- -->


> **𝙳𝚊𝚟𝚒𝚍 𝚁𝚎𝚒𝚗𝚜𝚝𝚎𝚒𝚗** (@GivingTools; 5/3): Very useful 'annotated biblio' #bookdown  of links to resources in a variety of categories for #DataScience with #rstats. 
> https://t.co/w96nSG1RXD:
> Thanks @monkmanmh.
>  Adding this to https://t.co/TurbKwJF41 @airtable  [&#8618;](https://twitter.com/xieyihui/status/1286721242922463233)

<!-- -->


> **Federico Pianzola** (@fpianz; 4/1): @rstudio Bookdown gives me great control on editing the book, thanks to R Markdown, and making it close (copyright 😢). @hypothes_is is just amazing! I can fine tune the comments sidebar to suit reading literary texts, with minimal invasion of the page layout. 2/  [&#8618;](https://twitter.com/xieyihui/status/1287545225896812545)

<!-- -->


> **Matthew Ross (he/him)** (@MagicalSystems; 3/1): @mishafredmeyer @ericJpedersen Loved this talk and the messaging. So clear and valuable. Hopefully it's archived somewhere and @ericJpedersen
> keeps fighting the good fight. We need more tutorials and less packages, and more general packages. Bookdown is great way to combine paper writing w/ tutorializing  [&#8618;](https://twitter.com/xieyihui/status/1286719629927186434)

<!-- -->


> **Javier Cantón** (@ProsumidorSoc; 3/1): New discover: Hands-On Data Visualization https://t.co/yVayqBq1KE #rmarkdown #bookdown #resource #dataviz  [&#8618;](https://twitter.com/xieyihui/status/1286951162667728896)

<!-- -->


> **Sharla Gelfand** (@sharlagelfand; 3/0): @canoodleson but to answer their question re: including CSS (relevant for HTML output!), there is a section of the rmarkdown cookbook that talks about CSS and how/where to include the stylesheet! https://t.co/I0iA51ZB1R  [&#8618;](https://twitter.com/xieyihui/status/1286767647745507329)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 2/3): Bookdown error with PDF output, even with webshot and phantomJS installed #tidyverse #rstats https://t.co/8NdxAXYL6P  [&#8618;](https://twitter.com/xieyihui/status/1287586082096386050)

<!-- -->


> **Polymath** (@Scientist1970; 2/2): Hi there R community!
> I'm writting a book with rmarkdown+knitr+bookdown. When I render .Rmd files, figures not generated with R are not included in GitBook format. Otherwise, there is no problem with epub format. Any solution for gitbook? #RStats.  [&#8618;](https://twitter.com/xieyihui/status/1288266935445139457)

<!-- -->


> **𝙳𝚊𝚟𝚒𝚍 𝚁𝚎𝚒𝚗𝚜𝚝𝚎𝚒𝚗** (@GivingTools; 2/2): https://t.co/SyyXHuuQNN  A #bookdown course covering 'basic tools' of #datascience (#Git, code, #SQL, #Rstats, #Python, notebooks, containers, APIs...).  Thanks @perrystephenson!  [&#8618;](https://twitter.com/xieyihui/status/1286713596123152385)

<!-- -->


> **Chris Engelhardt** (@EngelhardtCR; 2/1): Has anyone in #rstats had some luck with embedding local mp4 videos in a bookdown book rendered to gitbook? I've tried solutions similar to the following but with no luck: https://t.co/lgCePXIrOP  [&#8618;](https://twitter.com/xieyihui/status/1286289894696943617)

<!-- -->


> **Vikram_Singh Rawat** (@Guru_GyanKhoji; 2/0): @f2harrell @neuro_data @opherdonchin @learnfromerror @rlmcelreath Statistical Rethinking with brms, ggplot2, and the tidyverse https://t.co/bPC35xzL8L
> >
> Is this the book i should read to understand it???  [&#8618;](https://twitter.com/xieyihui/status/1287967485682098176)

<!-- -->


> **Matthew Ross (he/him)** (@MagicalSystems; 2/0): When using bookdown for a project, how should I manage time-consuming chunks that download and process data? I often develop in the same .Rmd that generates the book, so I don't always love cacheing, because it only caches on a knit, not in a developing session  [&#8618;](https://twitter.com/xieyihui/status/1287819387827703808)

<!-- -->


> **Emily Riederer** (@EmilyRiederer; 2/0): @canoodleson However, CSS works for **HTML** RMarkdown output. Since your student mentions PDF, they might want or need to research LaTeX (https://t.co/z7eN3FHO15) or checkout the {pagedown} package (which might help them make HTML docs that would "Print to PDF" better) 
> >
> (3/2 - oops!)  [&#8618;](https://twitter.com/xieyihui/status/1286771239843852288)

<!-- -->


> **Sarah Kabourek, PhD** (@skabourek; 2/0): @doughesm I've actually had this bookmarked for some time https://t.co/gwv8EpcK5e  [&#8618;](https://twitter.com/xieyihui/status/1285980559735480321)

<!-- -->


> **Michael McCarthy** (@mccarthymg; 2/0): @lakens Extra productivity boost: If you’re pushing your files to GitHub, you can also use GitHub Actions to automatically build and publish to Netlify or GitHub Pages whenever you push new material to your repository.
> >
> Here’s a tutorial for deploying to Netlify: https://t.co/Y47fvjn3fX  [&#8618;](https://twitter.com/xieyihui/status/1285977637282668544)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 1/3): Problem in custom blocks in bookdown conversion to in enumerate for latex/pdf #tidyverse #rstats https://t.co/m0I3Nd1xrz  [&#8618;](https://twitter.com/xieyihui/status/1288274366657110016)

<!-- -->


> **Andrew Heiss** (@andrewheiss; 1/0): @michael_e_flynn @jesse_lecy did something like this with a collaborative class bookdown  [&#8618;](https://twitter.com/xieyihui/status/1288214597028249600)

<!-- -->


> **Virgilio Gómez-Rubio** (@precariobecario; 1/0): @Paula_Moraga_ @Picanumeros @dr_xeo Creo es esto: cover-image 👇
> >
> https://t.co/R6PYyNVLcc https://t.co/IUcWy0k2Yh  [&#8618;](https://twitter.com/xieyihui/status/1288134679053455361)

<!-- -->


> **Jonathan Regenstein** (@jkregenstein; 1/0): @CanStats @bradleyboehmke Hi, I didn't put up a full version on bookdown yet, but all the code is available here. 
> https://t.co/gbUQMOedWV
> >
> Maybe I'll get the full version up if would be helpful  [&#8618;](https://twitter.com/xieyihui/status/1287099822168846342)

<!-- -->


> **Wotton** (@WottonLang; 1/0): @anabsoluteking do you mess around with bookdown?  [&#8618;](https://twitter.com/xieyihui/status/1286893753903398912)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): Bookdown pdf output only shows &amp;quot;placeholder&amp;quot; #tidyverse #rstats https://t.co/Sdg3plqC7m  [&#8618;](https://twitter.com/xieyihui/status/1288363709296005121)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): How do I upload needed files from bookdown (Rstudio) to Github? #tidyverse #rstats https://t.co/zXgk9TxpUj  [&#8618;](https://twitter.com/xieyihui/status/1287053838835384321)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): Bookdown (proof) custom environment: how to nest code chunks or inline R inside custom (e.g. proof) environments and get proper parsing? #tidyverse #rstats https://t.co/p69MWfeBHl  [&#8618;](https://twitter.com/xieyihui/status/1287743422212837381)

<!-- -->


# knitr

> **JD Long** (@CMastication; 106/0): I just went to knock out a quick blog post. And apparently it's been a year since I blogged... in that time knitr, Hugo, and my theme have all be updated. So I had bitrot that took longer to fix than my blog post took to write. Ahhhhh computing.  [&#8618;](https://twitter.com/xieyihui/status/1287924426890186756)

<!-- -->


> **Juha Itkonen** (@JuhaItkonen; 63/1): Viime aikoina on tullut käytettyä paljon näitä: Linux, git, R, Emacs, ESS, bash, Docker, Kubernetes, REST, HTTP,  HTML, CSS, Bootstrap, Markdown, Rmd, knitr, pandoc, YAML, LaTeX, pdf, C++, JavaScript, Node, JSON, CSV, XML, TCP/IP, curl ja regex. Mitä muita pitäisi olla?  [&#8618;](https://twitter.com/xieyihui/status/1286351463489380352)

<!-- -->


> **Erick Knackstedt** (@Eknackstedt; 9/1): @WeAreRLadies @R4DScommunity tidyverse, tidymodels, DBI, odbc, dbplyr, knitr, scales, lubridate, janitor, broom, stringr, tidytext, splines, hms, skimr, patchwork, baguette, kableExtra, ggrepel, widyr, igraph, ggraph  [&#8618;](https://twitter.com/xieyihui/status/1288160359010963458)

<!-- -->


> **Chris Tomlinson** (@tomlincr; 5/2): After battling with #MiKTeX to knit PDFs on Windows 10, #tinytex has worked perfectly. Thank you @xieyihui 
> >
> https://t.co/pnD4fVRyyh
> >
> #rstats #knitr #rmarkdown https://t.co/S4ZMl3UO5v  [&#8618;](https://twitter.com/xieyihui/status/1286718979512336384)

<!-- -->


> **Tyler Smith** (@sedgeboy; 4/4): TIL #rmarkdown supports dozens of languages, not just #rstats. Not quite as seamless as #emacs #orgmode, but you can mix #bash, #python, #awk etc in one document
> >
> https://t.co/lJxpnZhfP8  [&#8618;](https://twitter.com/xieyihui/status/1288088378290970634)

<!-- -->


> **Christian Lindell** (@lindellch; 4/1): @WeAreRLadies The problem with the alt-text is possible to solve with a knitr hook: https://t.co/q9byDRJMpR  [&#8618;](https://twitter.com/xieyihui/status/1286974610723033090)

<!-- -->


> **Kieran Healy** (@kjhealy; 4/0): Odd little RStudio (?) issue today … doing knit("README.Rmd") from inside an RStudio session seems to cause knitr to ignore the fig.path option. This doesn't happen when doing e.g. Rscript -e 'knitr::knit(README.Rmd)' from the terminal.  [&#8618;](https://twitter.com/xieyihui/status/1286094860261433344)

<!-- -->


> **James Owers** (@jamesowers; 3/1): @tomlincr @xieyihui Knitr and rmarkdown are the main things I miss from R (and RStudio)  [&#8618;](https://twitter.com/xieyihui/status/1286728276321415168)

<!-- -->


> **JD Long** (@CMastication; 2/1): Mikhail gives a great example of how to define a `sympy` knitr engine (is that the right term?) to handle the special adding of $ around the output. This was totally new to me. https://t.co/HN0WeGdy1l  [&#8618;](https://twitter.com/xieyihui/status/1288483515265355776)

<!-- -->


> **Mikhail Popov** (@bearloga; 2/0): Here's a potential solution that relies on registering a "sympy" knitr engine which intercepts &amp; modifies the code in the chunk before passing it to reticulate's knitr engine: https://t.co/g4ijfjacwv
> >
> Tried `options$results &lt;- "asis"` too but it doesn't work R Notebook preview 😔 https://t.co/IobSzsnDVT https://t.co/Otbm9DOogs  [&#8618;](https://twitter.com/xieyihui/status/1288478240017981440)

<!-- -->


> **JD Long** (@CMastication; 2/0): then we can make sympy LaTeX formulas in our Python chunk and have them print... but we have to do two magic steps. 1) tell knitr that we want the chunk "as is" (just render it) and 2) we need to wrap the output in `$` so it gets rendered as a LaTeX math formula. https://t.co/WSlsIDVEyg  [&#8618;](https://twitter.com/xieyihui/status/1287844916790468610)

<!-- -->


> **Jared Lander** (@jaredlander; 2/0): @CMastication When I first learned about LaTeX I remember that it had to be run two to three times to get cross references and TOC correct. But then I just used {knitr} which handled all of that so I never thought of it again.  [&#8618;](https://twitter.com/xieyihui/status/1287500403677057029)

<!-- -->


> **Mikhail Popov** (@bearloga; 1/0): You can also override built-in engines! So one could, for example, make their own knitr engine for Stan models that uses {CmdStanR} instead of {RStan} https://t.co/aHtxh9fov3  [&#8618;](https://twitter.com/xieyihui/status/1288488748699848705)

<!-- -->


> **SATO Kenji** (@kenjisatojp; 1/0): @AchimZeileis Do you think it's possible to make a wrapper function for knitr::kable(..., format="html"), the first call of which embeds a custom CSS? Hopefully, this function can take care of \begin{html}...\end{html} for Rnw documents. (I myself don't use Rnw though)  [&#8618;](https://twitter.com/xieyihui/status/1288271753702027265)

<!-- -->


> **Adastra 🌠** (@adastrame; 1/0): This is exactly what it feels like to work with knitr in RMarkdown. Takes ages to make a small change in your output file when you have to re-knit everything again and again. https://t.co/6RTPD350zh  [&#8618;](https://twitter.com/xieyihui/status/1288121416336855042)

<!-- -->


> **Dean Marchiori** (@deanmarchiori; 1/0): @mdneuzerling Ah ok. Thats cool. I actually think knitr caching in vignettes is problematic- at least in rstudio. Do you use hybrid drake/rpkg workflows?  [&#8618;](https://twitter.com/xieyihui/status/1286502499784880129)

<!-- -->


> **Tim Tiefenbach** (@TimTeaFan; 1/0): @ma_salmon I'm using the browser inspector and indeed the classes are the same. I wonder whether there is a way to tell {downlit} to create a special output class given a specified output format e.g. `knitr::opts_chunk$set(comment = „#&gt;“)`.  [&#8618;](https://twitter.com/xieyihui/status/1286036097957494784)

<!-- -->


> **Muhammad Yaseen** (@myaseen208; 0/1): #rstats 
> #knitr 
> >
> The following code add indentations to the 2nd &amp; 4th rows for first column only.
> >
> \`\`\`
> library(kableExtra)
> knitr::kable(head(mtcars[ ,1:4]), "latex") %&gt;% 
>   add_indent(positions = c(2, 4))
> \`\`\`  [&#8618;](https://twitter.com/xieyihui/status/1286885446895706118)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): Poor resolution and blurry texts when using knitr to create a PDF file in Rmarkdown? #tidyverse #rstats https://t.co/cBSJpJ3AZW  [&#8618;](https://twitter.com/xieyihui/status/1286439783703744513)

<!-- -->


# pagedown

> **Sharla Gelfand** (@sharlagelfand; 5/1): @canoodleson "CSS isn't relevant for PDF output" isn't 100% accurate, they can use the pagedown package to go from RMarkdown -&gt; HTML  and then HTML -&gt; PDF, if they indeed do want PDF output and to write CSS! https://t.co/ZXHOuwpFTR  [&#8618;](https://twitter.com/xieyihui/status/1286768005356097538)

<!-- -->


> **aden_buie("garrick")** (@grrrck; 4/0): @canoodleson Lots of great pointers here already, but maybe they were looking for the {pagedown} which lets you write render Rmd to HTML (styled with CSS) that prints to PDF https://t.co/K4FvEswmIZ  [&#8618;](https://twitter.com/xieyihui/status/1286820803925938176)

<!-- -->


> **🅺🅴🅴 🆈. 🅷.** (@keefellow; 1/0): pagedown: Create Paged HTML Documents for Printing from R Markdown
> https://t.co/metUrFYRTq #keeRtips  [&#8618;](https://twitter.com/xieyihui/status/1286829207671062528)

<!-- -->


# tinytex

> **Greg Tucker-Kellogg** (@gtuckerkellogg; 2/0): @CMastication tinytex uses latexmk internally, which is why it *looks* like it's not doing the multiple passes, even though it is. latexmk sets the latex compilation engine as an argument; different tinytex functions specify different engines to latexmk.  [&#8618;](https://twitter.com/xieyihui/status/1287369572312440832)

<!-- -->


> **Will** (@Popher; 2/0): @CMastication Totally missed your first question (Why TinyTex doesnt have this problem). All I can assume - without digging - is that it does the multi-pass in the backend.  [&#8618;](https://twitter.com/xieyihui/status/1287358633315991552)

<!-- -->


> **Rômulo Predes** (@romulopredes; 2/0): quer dizer, de certa forma to usando o TinyTex no próprio R  [&#8618;](https://twitter.com/xieyihui/status/1287115325729902593)

<!-- -->


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

<!-- -->


# xaringan

> **Semiramis** (@semiramis_cj; 30/11): Las invitamos al tutorial de xaringan que daré el 1 de agosto con @RLadiesMty 😁 Anímense a crear presentaciones con R https://t.co/BZZOVR2aSO  [&#8618;](https://twitter.com/xieyihui/status/1286013911590776832)

<!-- -->


> **Benjamin Wolfe** (@BenjaminWolfe; 8/3): #rstats fam: brainstorming Q!
> >
> New-ish job, 6mo in. Rare opp. this mo. to present anything I want to the company (mostly nontechnical) for 10–15 min. Hoping to have fun + flex a little w/ some R pizzazz.
> >
> #shiny? #blogdown? #xaringan? #rayshader? #COVID19 for engaging content? 🤷 https://t.co/KpFU1vBzTP  [&#8618;](https://twitter.com/xieyihui/status/1285779471522500608)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 1/1): "incremental equations" in xaringan? #tidyverse #rstats https://t.co/GXih0RVcPz  [&#8618;](https://twitter.com/xieyihui/status/1286822329520132100)

<!-- -->


> **Thomas Connors news comment humor** (@ThomasConnors; 1/1): Creator of xaringan @xieyihui in the 3rd slide
> >
> xaringan is an R Markdown extension 
> based on the Javascript library Remark.js
>  
> Full control of the entire viewport
> >
> Insight and hypnotize and delight, 
> that's behind the name, cool  
> >
> xaringanExtra  @grrrck
> https://t.co/mkwrpAuKE0 https://t.co/JaNT5PKCv6  [&#8618;](https://twitter.com/xieyihui/status/1286902785850650625)

<!-- -->


> **Mandrake🔥** (@KRZ3_7; 1/0): @driimendess Sim, e se por pimenta tu fica com xaringan  [&#8618;](https://twitter.com/xieyihui/status/1287788465783025665)

<!-- -->


> **Damien Dupré** (@damien_dupre; 0/2): And thank you to all the #Rstats xaringan magicians @xieyihui, @apreshill, @pjs_228, @grrrck, @emilyriederer for making amazing tools which I use for these slides!  [&#8618;](https://twitter.com/xieyihui/status/1286609760788324352)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): Xaringan presentation in modules #tidyverse #rstats https://t.co/qAjmehTCUU  [&#8618;](https://twitter.com/xieyihui/status/1287398618291408896)

<!-- -->


> **Thomas Connors news comment humor** (@ThomasConnors; 0/1): Very cool thing TIL an open source replacement for PowerPoint is called xaringan writes R Markdown uses Remark.js to render your slides like HTML CSS with live JavaScript code R Markdown animations running code like a browser anything you can put on a page
> https://t.co/eFTO3RiFVH https://t.co/X75tTTn07v  [&#8618;](https://twitter.com/xieyihui/status/1286894907966328832)

<!-- -->


