Can you believe this coin was rendered entirely in #rstats? In under 10 lines of code? And you can install the package that rendered this (#rayrender) in a single line of code, without worrying about complex build processes or installing requirements manually? https://t.co/JRlxTbRykO

2020/07/08

#rstats

Tyler Morgan-Wall (@tylermorganwall; 24029): Can you believe this coin was rendered entirely in #rstats? In under 10 lines of code? And you can install the package that rendered this (#rayrender) in a single line of code, without worrying about complex build processes or installing requirements manually? https://t.co/JRlxTbRykO

Dr. Ganapathi Pulipaka (@gp_pulipaka; 116106): Best Machine Learning and Data Science #Books 2020. #BigData #Analytics #DataScience #IoT #IIoT #PyTorch #Python #RStats #TensorFlow #JavaScript #ReactJS #CloudComputing #Serverless #DataScientist #Linux #Mathematics #Programming #Coding #100DaysofCode https://t.co/5EuUw1yGAp https://t.co/nVteYyhNE4

blogdown

Danielle Navarro (@djnavarro; 17634): A tidyverse focused course on “robust data science tools” covering data manipulation, data visualisation, an introduction to github and blogdown, as well as programming tutorials that incidentally teach you the basics of making generative artwork! > https://t.co/pQsiYGL1TM

Daniel Redondo Sánchez (@dredondosanchez; 322): Parece que me gusta un poco eso de R. #tidyverse #blogdown #rmarkdown #Shiny #ggpplot2 @R_Hisp #knitr #RStudio #git https://t.co/daZ4fVe4rD

Emily “Annual Leave” Nordmann (@emilynordmann; 80): Annual leave is proving very exciting, I’ve finally converted my website to blogdown > Website: https://t.co/gm7vIKV0Pu > Blogdown tutorial: https://t.co/ROcrT2koiL Figuring out auto-deployment via github: https://t.co/2SQ89J2X2r Fixing the share buttons: https://t.co/n4KT784wxm

ajb474 (@ajb474; 50): Finally got my website up and running (almost) to my specs… Check it out and see why I jumped on the blogdown bandwagon! https://t.co/KrIetvCcWv @source_themes #bookdown #rstudio #markdown

Ryan Estrellado (@RyanEs; 30): I worked on my website this weekend! > https://t.co/mnLKZFHzp2 > #MadeWithAcademic #blogdown

Jose Manuel Vera (@verajosemanuel; 22): Intro to Hugo: The Masterchef of Layouts https://t.co/phAEPBJAp3 #RStats

YouCanGradSchool (@can_grad; 20): And hot off the presses comes the episode that everyone has been talking about. > Here we walk through creating a website for free using @rstudio and @Netlify (with a special thank you to @apreshill @xieyihui @ProQuesAsker for their work with blogdown) > https://t.co/WsEldxDTf6

Aimee Schwab-McCoy (@AimeeSMcCoy; 20): @emayfarris I’d add digging into RMarkdown + blogdown and making a portfolio website, especially if she’s already learning R. > https://t.co/XAsMVYWy1V

Arif Ali (@arifyali; 10): @BenHanowell Definitely more along the lines of the kind of R markdowns I build. I’ve never really had a use case to go with a blogdown, so initial mockup is similar to the flow of current experience. Trying to get external infra figured out first.

Hanowell (@BenHanowell; 10): @arifyali For what reason did you not go down blogdown/netlift route? I know from your answers to questions about R devops on Amazon email lists that you definitely know your stuff. So I am guessing you have a good reason, and was curious.

Nils Reimer (@reimthyme; 10): @Brooke_Criswell Here’s mine: https://t.co/qUCHfD84xN. It’s hosted on Netlify, made with Hugo and Blogdown, and uses a version of the Minimo theme.

tidyverse tweets (@tidyversetweets; 0/1): Netlify fails to deploy blogdown site - Hugo Hallo theme #tidyverse #rstats https://t.co/D6x8SnyfNE

tidyverse tweets (@tidyversetweets; 0/1): R DT & blogdown - creating table leads to ‘path too long’ #tidyverse #rstats https://t.co/kKtHapFh9G

tidyverse tweets (@tidyversetweets; 0/1): Blogdown website rendering unformated on github deployment #tidyverse #rstats https://t.co/HoRSTQGit7

tidyverse tweets (@tidyversetweets; 0/1): Image on R Blogdown website page does not show #tidyverse #rstats https://t.co/NsqEpxS7hC

bookdown

David Granjon (@divadnojnarg; 17633): 🗣️ Hi #rstats. During @erum2020_conf , I was asked if my bookdown project about “Advanced Interfaces for Shiny” would be officially published. Today, I am please to announce that it will be published in CRC Press (R series), next year. Big thanks to @crcgrubbsd 🙏 https://t.co/hfIw40Bdsg

ModernDive (@ModernDive; 6615): Big news! 🆕v1.1.0 is now on https://t.co/X5zI0LvHGb & GitHub! > First, our #bookdown #rmarkdown source code was cleaned, commented & clarified by @SmithCollegeSDS rising senior @mariumtapal 🧹📝💡😌 > If you’ve ever wanted to build our book, now’s the time! https://t.co/Z0igaOyMm6 https://t.co/DsfH2wnCHx

emre toros (@emretoros; 408): @AliOilhan ben de nacizane şunumu bırakayım, işine yarayan olur belki https://t.co/5fnd4rkFXi

Emily Riederer (@EmilyRiederer; 261): @dgkeyes Yep! Here’s a good discussion of why {knitr} natively works that way and various options for changing it if you want to: https://t.co/DHWrBoAQY0

Yuki Yanai (矢内 勇生) (@yuki871; 199): とりあえず2Qの授業準備は完了。 > KUT 計量経済学応用 https://t.co/P8LDn0txmd #rmarkdown #bookdown

Kenna (@KDSLehmann; 121): Ok, now #R #Markdown is mysteriously knitting my document into a Skype attachment. Skype isn’t even open when I do this. I had to send it to someone and then download it. I mean, wtf is going on?! #bookdown #mysteries

James Curley (@jalapic; 110): Enjoying putting together with @TyMarie04 a big guide (textbook??) of R materials for my large intro stats class students as well as our upcoming @UTPsychology grad bootcamp. Hadn’t looked at bookdown in a while, but it’s awesome and the syntax is coming back to me! https://t.co/6DpibWrd84

Fabrizio Gilardi 😷 (@fgilardi; 104): Unsere Medienstudie ist auch als Bookdown verfügbar: https://t.co/epE96Y7WM9 https://t.co/Ap8EBg5o3W

Ming (Tommy) Tang (@tangming2005; 65): a good read https://t.co/GpA8wD1lpF #rstats

Dani Arribas-Bel (@darribas; 60): @robinlovelace @martinfleis @RogerBivand @edzerpebesma @MicheleTobias Maybe there’s a plugin for jupyter-book or bookdown that allows you to have R and python cells side by side? I’m thinking of a button that switches between cells in one lang and the other+the option of downloading a notebook w/ each separate? cc’@choldgraf

Ivan Leung (@urganmax; 40): 🙏 @nj_tierney for his #rmarkdown book; TIL about bookdown::pdf_document2, which allows referencing of figures within doc. > Knit doc like a pro, courtesy of shoulders of giants @xieyihui and co. > Book: https://t.co/G8G4MgweD5

Vicky Steeves (joinmastodon.org) (@VickySteeves; 32): and for the curious, the source code for my course materials is here: https://t.co/K9qteVNd8l > made proudly with bookdown! and hosted on GitLab, a hosting platform that doesn’t fucking work with ICE

Chase Clark (@ChasingMicrobes; 30): @_ColinFay @MilesMcBain @NickForr @UrbanDemog @marskar Agree, but my situation in this case is complicated 😅. But bookdown is totally amenable to being structured as a pkg

Colin Fay 🤘 (@_ColinFay; 30): @ChasingMicrobes @MilesMcBain @NickForr @UrbanDemog @marskar FWIW I do use DESCRIPTION inside bookdown projects, so that I can deploy them using remotes::install_local() on the CI, and also if I need to collaborate with other people, that helps bringing in all the dependencies > https://t.co/SvHKtSTZe7

ihaddaden fodil (@moh_fodil; 30): @pedro_tfonseca @rstatstweet For a PhD thesis I’d recommend bookdown

Cem Kafadar (@ckafadar2; 22): Birçok kitabı online okuyabileceğiniz bir site > https://t.co/0u3mSJR34H

Oli Clark (@PsyTechOli; 20): PSA to periodically delete your .aux files if using bookdown/papaja etc. Spent several hours trying to debug yesterday and it turned out that was the solution (sure this ain’t the first time!) https://t.co/0uNQ2jid6P

Albert Krewinkel (@kraut0xA; 20): @AriLamstein @jmcastagnetto @rstatstweet This should be it: Default: https://t.co/9zIWIEbDqj Bookdown: https://t.co/r20OmuVDLj

tidyverse tweets (@tidyversetweets; 12): How to increase width of the side menu in bookdown #tidyverse #rstats https://t.co/TXLr7hlEQQ

Deirdre Toher (@dtoher; 11): @t0nyyates https://t.co/XRul0SbxfG is the manual to get started. Don’t try to read it all, just search for what you need as you need it.

Michael Bach (@MichaelBach99; 11): @ceptional @pandoc (1) Yes, you’re on the mark! YESTERDAY (really!) I moved to bookdown. But that does NOT allow good image position control, at least not for docx output (needed by publisher). (2) Surprise: On illusions & visual phenomena – in German :(

Jesus M. Castagnetto (@jmcastagnetto; 11): @AriLamstein @rstatstweet Ah! that bit is handled by knitr (https://t.co/ymdqCv1T2W) IIRC. Also, the book at https://t.co/v8PcaCdRU1, in particular chapters 17 and 18 might help. Also, because #pandoc is the one that finally does the heavy lifting, check https://t.co/vZTImdEyQC

Colin Fay 🤘 (@_ColinFay; 10): @wojteksupko Yeah I think the thing that gets at me a lot is that RStudio (and today bookdown) create a lot of file “in the background” and if you forget to gitignore them you have to handle unexpected merge conflict

Karandeep Singh (@kdpsinghlab; 10): @queuebit @rdpeng Thanks queuebit! We actually talked about hosting this on https://t.co/aOH3a1GBZC. But right now just sticking with plain RMarkdown so I can get my son accustomed to the whole idea of code chunks + text. He is excited because we have bookdown installed.

Karandeep Singh (@kdpsinghlab; 10): @TaperaTinashe Thanks Tinashe! We aren’t close to having a GitHub repo yet. Right now teaching my son the basics of RMarkdown and having lots of fun. He has bookdown installed but haven’t yet turned this into a bookdown project. Once we do, will likely host on GitHub.

Paul Yousefi (@PaulYousefi; 10): @jalabrecque I haven’t had a chance to test it out yet, but the redoc package seems like a promising way to incorporate tracked changes into an Rmarkdown workflow: > https://t.co/aqnGJambbr > https://t.co/ksd3AAVbRK

Tom Mock (@thomas_mock; 10): @yannickauff Hi @yannickauff - my immediate thought is are you running the CSS portion in a .rmd file with a .css chunk? >

.salary {
  font-family: Karla, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
}

See: https://t.co/V5B6khBsf6

tidyverse tweets (@tidyversetweets; 0/1): Bookdown::gitbook rendering two-level lists to code blocks #tidyverse #rstats https://t.co/J9yLLmpoF0

tidyverse tweets (@tidyversetweets; 0/1): How to force bookdown to render document with xelatex engine instead of pdflatex? #tidyverse #rstats https://t.co/aqJN0N1l48

Alex Holcombe (@ceptional; 0/1): @MichaelBach99 @pandoc What about bookdown? And what’s the book? :)

knitr

Chris Beeley (@ChrisBeeley; 909): Okay, hands up who didn’t know you could write > library(knitr) options(digits = 2) > In an RMarkdown document to round all the numbers in it to 2 decimal places? > #rstats > 🙋‍♂️

Emily Riederer (@EmilyRiederer; 200): @djnavarro Takes all of the R out of your markdown > {knitr}

Elio Campitelli (@d_olivaw; 81): Getting the correct size of figures using #knitr… does it EVER get any easier? 😭 #rstats

Susannah Cowtan (she/her) (@SuusJC; 43): knitr::knit_expand is my friend for thesis writing. One file per chapter, and a master file with all the latex and knitr preamble and postamble in one place - including my ggplot theme and colour palette. I can comment out all but the chapter I’m working on #rstats #dissertation

Jacqueline Nolis (@skyetetra; 40): @alexpghayes @hadleywickham @lauretig I would have never guessed knitr would have been at the top of this

Claudio Pacheco (@claudiodanielpc; 21): Así quedó con knitr::kable() #R #Rstudio #Stats #Rstats https://t.co/iFKBWyZBEY

Cameron Patrick (@camjpatrick; 20): @wfmackey I think I’m about one script file away from knitr::opts_chunk$set(message = F, warning = F)

Gavin Kelly (@gavinpaulkelly; 12): What would make last minute changes to publications using #rstats less stressful would be if #knitr #rmarkdown could tell me if the output of a specific chunk has changed. Possible? Split to separate files?

useR2020muc (@useR2020muc; 11): Methods of report generation in clinical trials using R and knitr by Alessio Maggiorelli > https://t.co/NSeevj7wYF

Gael Varoquaux (@GaelVaroquaux; 10): @modrak_m @ctitusbrown @DocFast @betatim I find Rmarkdown/knitr quite good actually 🙂

Cameron Patrick (@camjpatrick; 10): @thisisdaryn @dgkeyes if you’re using RStudio projects or git, you could also do something like > library(here) knitr::opts_knit$set(root.dir = here()) > understanding the default behaviour is the first step to changing it to whatever works for you!

Jenny Bryan (@JennyBryan; 10): @bmwiernik @dgkeyes knitr has the root.dir option but I ultimately decided that using here to forms paths was a more robust solution, overall > I might be misunderstanding your question, though

Ornella🐎 (@ornscar; 10): @Trifenol knitr::kable?

Stephen Martin (@smartin2018; 10): @dsquintana But yes - I actually did my master’s thesis in Sweave (which has been around for ~ 20 years now! Underrated in psych). Diss. in knitr. Haven’t made the jump to markdown papers, b/c I’m used to latex. Org/babel is similar too (more langs though).

Stephen Martin (@smartin2018; 10): @dsquintana R’s Sweave, knitr-latex, and Emacs org mode: https://t.co/5kD3s1HBjL

Rupert Overall (@rupertoverall; 10): @ChrisBeeley Be careful with this. > 1. This is not specific to knitr, it is a base R function and affects the whole session. Default is digits=7 2. It does not round to 2 decimal places but 2 digits (see next reply for examples) 3. You may want to stick with ‘signif’ (not an ‘option’)

Will Landau (@wmlandau; 10): @gdbassett @vega_vis @1null1 @ProjectJupyter I am not aware of a pipeline tool that does this, but most are script-based, so multiple reports plus a Makefile could achieve a similar effect. Knitr has an autodep chunk option, but I’m not sure it computes a DAG.

Andrew Kniss 🌱 (@WyoWeeds; 10): @TShates I’ve been happy with just using kable() from the knitr package, and it works well for exporting into pdf and word in addition to html. > kable(df, row.names=FALSE, colnames=c(“Name”, “Treatment”,“DataColumn1”))

tidyverse tweets (@tidyversetweets; 0/1): mvbutils::foodweb will not render in HTML with Knitr #tidyverse #rstats https://t.co/rCpsK7Frdb

tidyverse tweets (@tidyversetweets; 0/1): How to use knitr? #tidyverse #rstats https://t.co/GL3wNucuv4

tinytex

Brenton Wiernik 🏳️‍🌈 (@bmwiernik; 20): @samuelmehr @GKountourides I’d recommend just removing TeXLive/MacTeX and letting tinytex handle it for you everywhere

Marcus Nunes (@_marcusnunes; 10): @OGabrieltxg TinyTeX porque facilita a minha vida no R. > (ele é baseado no texlive)

でみあん (@hatenademian; 10): 話がガラッと変わって、勉強用のノートをRで作るためにR Markdownを使っていたのですが、その時に起こる色々なトラブルがTex Live 2020を入れたら大体解決してしまいました。 > tinytexだと最小限の手当てなので日本語を扱う際のトラブルが避けられないんですね。

SAM (@samuelmehr; 10): @bmwiernik @GKountourides fully removing tinytex (tlmgr remove --all) and reinstalling it via R seems to have done the trick, though now all my packages are gone 😢

SAM (@samuelmehr; 10): @bmwiernik @GKountourides what’s funny is that tinytex is the distribution I thought I was using in the first place. super weird bug

SAM (@samuelmehr; 10): @bmwiernik @GKountourides totally bizarre that TeX would fritz out on its own, though. literally knitted something yesterday on the same machine with no issues… will try to play around with tinytex later

SAM (@samuelmehr; 10): @bmwiernik @GKountourides I’ve got tinytex installed, is there a way to force R to use that instead of other tex distributions on the same computer?

Brenton Wiernik 🏳️‍🌈 (@bmwiernik; 10): @samuelmehr @GKountourides tinytex is an R package with accompanying lightweight tex distribution

Brenton Wiernik 🏳️‍🌈 (@bmwiernik; 10): @samuelmehr @GKountourides Try installing tinytex and using that instead? It manages packages dynamically

xaringan

Denis Cohen (@denis_cohen; 241): Hey @MZESUniMannheim Tweeps, I just finished a first version of (more of less matching) MZES-flavored metropolis slide templates for beamer and xaringan. Feedback/suggestions very welcome! > 13

Dr Christian Hoggard (@CSHoggard; 143): Today I’m working on my presentation for @gmm_workshop, all I can say is: > Discover R Markdown… 😍 Discover xaringan… 😍😍 Discover xaringanthemer… 😍😍😍 > #rstats

Gina Reynolds (@EvaMaeRey; 50): the flipbook are built with {flipbookr} and built in @xieyihui’s {xaringan} and with remark.js which are both pretty fantastic! 🙏🤯

Denis Cohen (@denis_cohen; 50): mzes-xaringan-metropolis Demo: https://t.co/2ewzEblou3 Repository: https://t.co/wDVWDWhG3H > mzes-beamer-metropolis Demo: https://t.co/Zehv5kjUX1 Repository: https://t.co/wDVWDWhG3H > 23

Ajay Koli (@dalitdata; 21): If you are preparing slides using #rstats package #xaringan and by mistake you had deleted the .Rmd file 😰. Then: > 1. Look for the .html output file of your deleted .Rmd file. 2. Click on the .html file and chose the option “Open in Editor”. 3. Most of your codes will be there.

Julio Trecenti (@jtrecenti; 20): @djnavarro PowerPoint without WordArt > {xaringan}

Igor Rian ✠ (@igor_rian10; 10): @Ittalloferreira Kkkkkkkkkkkkkkk vsf com esse negócio de Suzano e xaringan e gamegamerrá porra é essa

Denis Cohen (@denis_cohen; 10): @rruizrufino @MZESUniMannheim @KingsQPE Sure! That just requires changing the corporate color definitions and logo in the preamble (Beamer) or in mtheme.css and insert-logo.html (xaringan), respectively.

Mine CetinkayaRundel (@minebocek; 10): @KellyBodwin You’re welcome! My one issue with this approach is that you end up needing to use the infinite moon reader for the css file to be picked up from another directory (assuming you have xaringan slides), and I have a ❤️/🤬 relationship with the infinite moon reader.

Joseph Casillas (@jvcasill; 10): @ChelseaParlett It would be cool if you put them in a public repo. Then I could include them in my #xaringan slides using the url and never download them 😍

T.H MUNHOZ 🔥⚡ (@nd_munhoz12; 10): Eu sou o kakashi , com um olho de xaringan 😂😂😂😂😂 https://t.co/caJKNddZWO

Tom Mock (@thomas_mock; 10): @grrrck I’m trying to figure out a way that is logistically feasible to do some sticker drops, 1:1 exchanges are easy but 1:many are tough in reality. > That being said I owe you MUCHO from earlier in the year with your Xaringan help 🤠