The remarkable decline in infant mortality, split by continent. #rstats https://t.co/hiUQpDRK9z

2019/10/16

#rstats

Todd R. Jones (@toddrjones; 415154): The remarkable decline in infant mortality, split by continent. #rstats https://t.co/hiUQpDRK9z

David Robinson (@drob; 23542): In this #tidytuesday screencast, I analyze of fuel efficiency in cars (like mtcars, but with 42K obs of 84 variables!) > Did you know that most cars have higher fuel efficiency on highways, but most hybrids have higher efficiency in cities? 🤯🚘🚗 > https://t.co/PZdt6h3PAe #rstats https://t.co/sfQ9yAZoLl

Winston Chang (@winston_chang; 20840): Shiny 1.4.0 is out! The one improvement that every Shiny user will notice is that trailing commas are now OK, as in: div(“Hello”, “world!”, ) https://t.co/5NOZKjRBvM #rstats

ResearcHers Code (@ResearcHersCode; 20829): Personal process of coding ~fresh data~ in #rstats: 1. Merge all data frames 2. Make some ugly graphs– visualization of data is key 3. Stare 4. Eat chocolate 5. Redo graphs and code appropriate associated stats 6. Do these data make sense? 7. Drink tea 8. Repeat 2-7

Amrish Baidjoe (@Ammer_B; 13683): Are you a field epidemiologist interested in switching to R for data analysis? @MSF and @RECONEPI have just launched #R4EPIs (https://t.co/gHg3kXz11L)! Pre-scripted #Rstats markdowns for the analysis of outbreak linelist data (meningitis, measles, cholera and AJS) @ZKamvar https://t.co/o5OOhRvIqT

blogdown

Malcolm Boorrett 👻🎃 (@malco_barrett; 10811): I’ve been taking a deep dive into #gohugo, #blogdown, and Academic. I ended up completely revamping my website! Check it out at https://t.co/EuBIUGziy0 #rstats #MadeWithAcademic https://t.co/JxDmiTW8io

Megha 🌹 (@meghapsimatrix; 415): I made a website/blog following @hadleywickham ’s advice at @Statfest. Please check it out: https://t.co/C3f5MJdL2t #blogdown #netlify #rstats @jepusto @TBeretvas

Alison Haunted Hill 🧟‍♀️🏚 (@apreshill; 286): This looks like a great #gohugo theme if you are looking to build a knowledge repository or a documentation site with #blogdown. > https://t.co/mgU6e4LtKz https://t.co/03sNQLfz1E

Alison Haunted Hill 🧟‍♀️🏚 (@apreshill; 241): This #MadeWithAcademic site makeover looks so good 🕶 > I love how the widgets and layouts with the academic theme let your site grow alongside your skills and needs - nice job @malco_barrett! > #blogdown #gohugo https://t.co/FSbabURA1c

Malcolm Boorrett 👻🎃 (@malco_barrett; 120): Also, shout out to @apreshill, @dcossyle, and @ma_salmon, because I spent a lot of time looking at the beautiful blogdown sites they’ve been blooming across the web-garden. @apreshill’s series on #gohugo is super helpful, as well! https://t.co/6WPXHnyfs8

Benjamin Werewolfe 🐺🌕 (@BenjaminWolfe; 84): I just made my first #rstudio add-in + it’s stupid easy! > If you’ve ever wanted to try, do it! It’s so satisfying to load your #rstats 📦 + see it in the add-in menu. 😃 > https://t.co/KMnL7hSsXK > #usethis even has use_addin! > Inspiration from #blogdown: > https://t.co/LoVjEnBPq4 https://t.co/PAuAHVy2oJ

tidyverse tweets (@tidyversetweets; 75): Documenting Shiny application with Blogdown #tidyverse #rstats https://t.co/iulmsceKTT

R-Ladies Tampa (@RLadiesTampa; 71): Today, we learned about #blogdown, thanks to @datakritter ! https://t.co/LhYmBHOlGi

Siri Folstad (@sirifolstad; 71): Made my own website today using the #blogdown package in #rstudio: https://t.co/XwTXlBMMU5. > For the time being, I will use it to showcase my upcoming statistical analyses and scientific publications. > Thanks for the tutorial @dsquintana 🌟🤩

Sam Hunley (@shunley42; 63): It’s in need of a significant amount of love, but I have officially made a website using blogdown. And that feels pretty neat. > Thank you @ChelseaParlett, @jsonbecker, @apreshill, and others for the encouragement and resources! > https://t.co/8FPRSQ8GXz

Sam Hunley (@shunley42; 50): @ChelseaParlett …After responding, I have sense been convinced to checkout blogdown…which requires me to learn RMarkdown… so here we go, I guess!

Maëlle Salmon 🐟🔪🍣😱 (@ma_salmon; 40): @scolphin I think GitHub pages only work if you pay https://t.co/JZqqZ1kyLb > I’d recommend the blogdown book, with Netlify you don’t need to pay https://t.co/wWtFpMCJ7p

Gina G. 🖖🏾 (@TheGinaGi; 32): Now, I’m tempted to migrate from @WordPress to using #blogdown on Hugo! 😄 #RLadies #RStats #Diversity https://t.co/JymR3FrKJ3

R-Ladies Tampa (@RLadiesTampa; 32): Don’t forget! We’re learning #Blogdown tomorrow with @datakritter! #RLadies #RStats #Diversity Check out this Meetup with R-Ladies Tampa https://t.co/KD9uT2FieZ

Thomas Lumley (@tslumley; 30): Huh. Google Analytics seems to reports hits on blog posts I haven’t posted yet, from when blogdown/RStudio renders them locally during editing. Creepy much? https://t.co/XAANAkJNZ2

Sam Hunley (@shunley42; 20): @LittleMissData @IsabellaGhement I ended up doing just that, actually! I’ve also started the process of learning blogdown so that I can make my own blog - per the suggestion of a bunch of folks in this thread. > https://t.co/aTEMix9VDF

Jason Becker (@jsonbecker; 20): @shunley42 You’ve got the skills for a very simple blog from blogdown or plain Hugo or Jekyll or similar using github pages. It’s worth it.

Marco lin (@marcolin91; 20): Kindly looking for recommendations on intuitive, flexible, but rich ways for making a personal website. > Ideally involving markdown or something in between coding and WYSIWYG. > Considering Blogdown or Jekyll inspired by @dsquintana @_rdgao, but I gratefully welcome other tips!🙏

Cédric Scherer (@CedScherer; 20): @Christi58451746 Great stuff! Might be worth to mention the geom_sina() / stat_sina() functions from the {ggforce} package as well? https://t.co/vAP1RnoS6c And any chance to see the source code of your page (is it even blogdown?) or sth else?

Zhi Yang (@zhiiiyang; 20): @malco_barrett Can I say that this has nothing to do with the fact that I’ve been showing your website around as an example of blogdown in my talks? 😂

Alfonso Tobar (@tobar_with_R; 20): @malco_barrett I loved the way you organized your site. I’m also using academic and blogdown and mine looks very messy. If you don’t mind I will take some ideas to reorganize my site to have some thing decent to share soon.

Vanessa Stevens, PhD (@Vanessa_S91; 10): @EpiEllie I used R Blogdown and Hugo Academic with deployment to Netlify. I’m a big fan of mostly free since… well, assistant professor here 😂 https://t.co/xeXznHXvRD

Roope Kaaronen (@RoopeKaaronen; 10): @marcolin91 @dsquintana @_rdgao I did mine with blogdown and am happy with how it turned out. Perpetual cryptic error messages can be a pain, though, but it doesn’t take long to learn to avoid them (basically just using a lot of templates for the code).

Georgy Falster (@palaeoclimateer; 10): @SWgeoscience I started with https://t.co/yJJCVlTCZO and then followed my nose! Also I used Hugo/Github rather than Jekyll/Netlify but either of those would probably be easier

Ed (@ed_berry; 10): The lesson being. Always make changes to your website on a branch, even your master branch just had the blogdown example site on it

Ed (@ed_berry; 10): Not sure how long Netlify has had this feature, but the Continuous Integration checks it runs on pull requests are so cool. Quickly fixed a build failure with zero headaches. Perfect in combo with #blogdown

Robert M Flight (@rmflight; 0/1): Trying to add utterances to an academic hugo themed site, and having issues. > Tried following guide in https://t.co/yYgXcHM0Ar > But can’t really figure out where the utterances javascript should go in the academic theme. > layouts/single.html doesn’t work > #blogdown #rstats

tidyverse tweets (@tidyversetweets; 0/1): blogdown build_hugo with parameters (baseURL) #tidyverse #rstats https://t.co/fXqb6HqTIs

bookdown

Matt Kmiecik (@mattkmiecik14; 79): I’m excited to share our freely available online book written using bookdown in R! It aims to provide a practical extension of introductory statistics typically taught in psychology into the GLM 📖📈 #rstats #r4ds https://t.co/3NJwXtGFMu

Michael Friendly (@datavisFriendly; 62): How to compare a handcrafted, visually-guided bibliography from @infowetrust with something I can do more easily get with #rstats #bookdown or even #latex? Shall I compare thee to a summer’s day? Book #designer s can still do beautiful things in print, even for a bibliography. https://t.co/Xahd1clS84

Data Science Reads (@dsreads; 53): Another book added to our collection of free #DataScience books! “R Programming for Data Science” by Roger D. Peng. https://t.co/CJYod0IyK8 #rstats > See all the books here https://t.co/SqcmhMhu1O https://t.co/U0uvWOHEvl

emre toros (@emretoros; 50): @voydorg @Zofiathewitch @sahnpnr başlangıç olur belki diye şunu şuraya bırakalım https://t.co/pobI3Kynnt

Solomon Kurz (@SolomonKurz; 40): @ianhussey Here’s how I currently cite the book in my vita: > Kurz, A. S. (2019). Statistical Rethinking with brms, ggplot2, and the tidyverse. Retrieved from https://t.co/alBJXHKIrf [GitHub: https://t.co/u1tiIVia3T]

ujs (@heyimujs; 30): そういうことらしいです。 > Applied Causal Analysis (with R) https://t.co/OMbcHVXhZy

Jesse Mostipak (@kierisi; 30): @gvwilson The repo is here: https://t.co/bTtwoAHEIv > We’ll eventually get it rendered in bookdown and up on its own site, but are prioritizing writing because deadlines! contracts! aaaaaaah!

Ian Hussey (@ianhussey; 30): .@SolomonKurz if I was to cite your awesome brms code to accompany McElreath’s Statistical Rethinking as a resource for learning Bayesian analysis, how would you like it cited? https://t.co/ghM8X4HvOD

Cap’n Blackheart Bette (@cantabile; 20): 🤔 I’ve figured out code folding in a single .Rmd; now, how how to do this in a bookdown book?

Gökmen Altay (@gokmen_19; 20): Mevcut Kuran’in TAMAMI uzerinden GERCEK 19 sistemi > #ReproducibleMiracle

kitabimi 2019-09-07 tarihinde yayinladim. > Insallah tum insanliga hayirli olur… > Bir sure sadece e-kitap olacak (ISBN: 9781513654577). > Linkten erisebilirsiniz. https://t.co/eZuB53hUD7

Hlynur Hallgrímsson (@hlynur; 11): @jokull Well, RMarkdown in RStudio. More specifically the bookdown package is ideal for what you want, re. references & footnotes. > Equations would still need to be written in LaTeX, but the setup is a two-liner. > install.packages(“tinytex”) tinytex::install_tinytex()

Gjalt-Jorn Peters (@matherion; 11): What’s the best way to obtain a DOI for an #OpenAccess book you create using #rstats Bookdown? > Upload the PDF and then use @ZENODO_ORG or @PsyArXiv? > Are there other (better, dedicated) means for this?

Nicholas Potter (@potterzot; 11): @rothtran @paulgp If you want to be R based, this online book is great: https://t.co/OVv1rlFZq1

Christophe Dervieux (@chrisderv; 10): @HeidiSteiner920 @bgreenwell8 @ameresv @DataForWorld @rstudio Yes the best way is to use reticulate’s python engine > https://t.co/QqkSgv61lo > https://t.co/zVMmCbDkYF

Matthew Lincoln: Vampire Hunter 🪓 (@matthewdlincoln; 10): @felwert @paigecmorgan @rstudio TBH though, I only use those for acutal literate code when preparing manuscripts, when all I need to tweak is the graph code. With bookdown, you can really do a whole book in it - totally diff. from a scratch-like research notebook.

superboreen 🇮🇪 (@superboreen; 10): @lenkiefer More info here: https://t.co/oOdjF9lVES

Joris Meys (@JorisMeys; 10): @matloff @f2harrell @LucyStats You can use raw latex in your Rmarkdown. The book of @xieyihui is quite enlightening. > https://t.co/DC8TGgiJok

Solomon Kurz (@SolomonKurz; 10): @ianhussey Yeah, this entire issue gets confusing, to me. The book is a product of the #bookdown code and so on. That code has a doi. But if one wants to just cite the prose and code presented in the book, perhaps the book is the one to cite.

Michael Extra IKEA Piece (@mdekstrand; 10): @emma_molls @CopyrightLibn There’s some interesting work happening in this space for programming docs & statistical learning materials, e.g. bookdown (https://t.co/VKliDtAKYA), Rust’s user guide (https://t.co/bj8LZQDm55), and more generally GitBook. Gitbook has epub & PDF too.

Wesley Stephenson (@WesStephenson; 0/1): @philipjcowley YaRrr - The Pirates Guide to R. https://t.co/oQkGeSrNX6

tidyverse tweets (@tidyversetweets; 0/1): Bookdown generates an index file with a name based on chapter title instead of <e2><80><9c>index.html<e2><80><9d> when knitted #tidyverse #rstats https://t.co/9zu1K8XYel

knitr

Michael Chirico (@michael_chirico; 6317): New feature #8 of {data.table} 1.12.4: fread/fwrite YAML+CSV support > A big drawback of the CSV data format: the file doesn’t have any metadata – it doesn’t tell you anything about itself. What type of data? Whence? > A YAML (familiar to {knitr} users) header can fix this https://t.co/uYgitj7ekE

👻📈 𝙻𝚎𝚗 𝙺𝚒𝚎𝚏𝚎𝚛 😱📊 (@lenkiefer; 61): #rstats ➡️ LaTeX equations ➡️ knitr ➡️ PowerPoint > worked surprisingly well for me today > Kind of niche, but nice within a constrained workflow https://t.co/qvojv0tdsB

baptiste (@baptiste_auguie; 51): @minebocek ggplots could carry with them a suggestion for output size, estimated from number of facets, fontsize, aspect ratio,… This hint could be used as better “defaults” in ggsave (it would query the plot to save), and in knitr. egg::set_panel_size takes a small step in this direction

Dale Maschette 🐟🧗‍♂️ (@Dale_Masch; 34): Team #rstats! anyone have a good way to display stats::dist objects nicely in Rmarkdown? both knitr and GT let me down.

Swaran Sandhu (@sandhu_hdm; 34): @methodenkritik First thing to do: kill word: this was never meant for academic papers. Then dig into RMarkdown + Bibdesk/Zotero + KnitR + PanDoc/Latex with packages like Papaja/Tufte/Tint to the rescue! > #rmarkdown #rstats #reproducable #scientificworkflow > https://t.co/wJJA54eAVW

Danny Wong (黄永年) (@dannyjnwong; 10): @SeabrookRita @rstatstweet Try knitr::include_graphics()?

Matt (@MJaquiery; 10): @Sam_D_Parsons Have you tried asking knitr to produce a non-standalone version? That’ll at least tell you if it’s a knitting problem or an environment problem.

Johannes Gruber (@JohannesBGruber; 10): @ryanjgallag @snotskie Also noteworthy: using knitr you can use markdown with R, Python, Julia, C++, SQL and around 50 other languages.

Heather Urry (@HeatherUrry; 10): @bergelsonlab @FrederikAust @strengejacke @mcxfrank @tjmahr Ahhhh great point - looking at an old Rmd, I see that I never did figure that bit out; I used webshot and then knitr’s include_graphics and then just referenced the table as a figure (in a manuscript I wasn’t submitting for publication).

tidyverse tweets (@tidyversetweets; 0/1): Cannot display graphs with knitr to pdf #tidyverse #rstats https://t.co/B1v1fQnEnF

pagedown

Romain Lesur (@RLesur; 10): @jtrnyc @sctyner @rensa_co Sorry for the delay, here is an answer https://t.co/IFcrJw3iPm

tinytex

Jökull Solberg (@jokull; 11): @hlynur Looks like it uses pandoc markdown which is what I’m using. What I’m fed up with is figuring out what packages are missing from tinytex to get decent output. Took me two hours to get embedded images to work. Doing brew install r now :)

Dilsher Dhillon (@TexanDhillon; 10): @alepoptosis Are you on a windows? I’ve always had a problem knitting to pdf with windows. I followed instruction for tinytex and it works great now!

xaringan

MNAK (@Mnak14; 860): @GazirGPS Eres el mejor hermanito pinxe no me mate con tu xaringan

kazutan (@kazutan; 359): 今夜しゃべる内容です。xaringanについてです。LTなので詳細は省略してます。 #fukuokaR #yakitoriR https://t.co/NllGRtzmty

Alyce Russell (@nerdrusty; 123): I decided to try out #xaringan for the first time. A reminder that our @RLadiesGlobal community is awesome!! You can learn so much from everyone’s Github uploads 🙌 @RLadiesPerth, this one includes a freeform guide with cheatsheet links so you can practise troubleshooting! https://t.co/0DzZ3CnByU

data_sciesotist (@data_sciesotist; 31): RMarkdownの同じソースをreveal.jsでスライドにすると正しく描画されて、xaringanではうまくいかないのは、なんなのだろうか。MathJaxの処理が異なっているのか。 https://t.co/1khTG35yMX

Brandon Greenwell (@bgreenwell8; 20): Why didn’t I know about this sooner?! Def makes the plots in my old #xaringan slides look much more clear! https://t.co/6bsGZbLdqJ

Karen Costa (@karenraycosta; 10): @RyanStraight I don’t know what Xaringan is, but it sounds cool. https://t.co/Kw5B86aOXg

Dr. Straight but spooky 🎃 (@RyanStraight; 10): @karenraycosta I also put my lecture notes in my Xaringan presentations that are linked on the course websites (at least I try to, it’s a work-in-progress). That way students have everything and it’s accessible.

yihui.name

Mara Averick (@dataandme; 12115): 😬 Cuz actual live demos are stressful… 👻 Make it look like you’re typing live! “An Introduction to {xfun}” ✍️ @xieyihui https://t.co/FM2fX3favK #rstats #rstudio! https://t.co/dDj8aTXZEt

Alison Haunted Hill 🧟‍♀️🏚 (@apreshill; 51): @robinson_es Yes you can with @Netlify; a blog post here: https://t.co/BDMnXLLryF

Mark Scheuerell (@mark_scheuerell; 30): @NicholasStrayer Thanks for this great resource! > You mentioned in a side bar comment that you couldn’t figure out how to print the {r} in Rmarkdown. Perhaps this post from @xieyihui would be helpful: > https://t.co/1UqU82NSqN

Kyligence (@kyligence; 21): Check out this great piece by @xieyihui written about @joelgrus take on why he doesn’t like #Jupyter notebooks (also a great presentation if you haven’t seen it yet): https://t.co/BDeAlIMfvy