My partner recently told me he wants to learn R. So this year he's getting a 25-day R tutorial advent calendar! Each day is a new bit of code teaching the basics in R. I'm pretty excited to send it to him this weekend ๐Ÿ˜Š๐Ÿ’•๐ŸŽ๐ŸŽ„ #Rstats #Rstudio #AdventCalendar

2019/11/27

#rstats

Kiirsti Owen (@KiirstiO; 1679101): My partner recently told me he wants to learn R. So this year he’s getting a 25-day R tutorial advent calendar! Each day is a new bit of code teaching the basics in R. I’m pretty excited to send it to him this weekend ๐Ÿ˜Š๐Ÿ’•๐ŸŽ๐ŸŽ„ > #Rstats #Rstudio #AdventCalendar

Hadley Wickham (@hadleywickham; 35629): The laptop sticker game is strong in Australia! Featuring the laptops of @visnut, @nj_tierney, @earowang, and @statsgen #rstats https://t.co/L2VtYFBqqn

Tyler Morgan-Wall (@tylermorganwall; 24638): ๐Ÿคฆโ€โ™‚๏ธ”… No, I told you to use R to run a ๐™๐™ช๐™ ๐™š๐™ฎ’๐™จ test.” > #rstats #rayrender > (Happy Thanksgiving this week!) https://t.co/MNFbT1fvkr

Emma Vogel (@efvogel; 24147): First attempt of using #moveVis to show move persistence of #KillerWhales tagged last year! Still have to make adjustments, but it’s an exciting start. #AnimalMovement #rstats https://t.co/lztQdNmToC

One R Tip a Day (@RLangTip; 17989): The R Graphics Cookbook by @winston_chang, now available free online https://t.co/sWsmfqG1v4 #rstats

Mara Averick (@dataandme; 17335): ๐Ÿ‘จโ€๐Ÿ’ป Nice break-down of how @tjmahr made this combo viz! ๐Ÿ“Š “Another mixed effects model visualization” https://t.co/YQYICShBXH #rstats #dataviz https://t.co/IRpvLyU8r8

blogdown

Steven Ge (@StevenXGe; 3911): What? Shiny Apps can be converted into desktop applications? The R community keeps inventing/developing new things, way beyond a simple statistical computing language. Shiny, Markdown, Blogdown, bookdown … … What’s next? https://t.co/3zPEc9anzY

Daniel (@dthroelfs; 212): Recreated my blog from scratch using Rmarkdown and the blogdown package. Connected everything through GitHub and Netlify. Thanks for the inspiration @dsquintana! https://t.co/Y9LAcAKBQ9

Hadley Wickham (@hadleywickham; 81): @mshieldsdunn blogdown!

Andrew MacDonald ๐ŸŒˆ (@polesasunder; 51): I seem to recall there being a #blogdown or hugo way of creating a draft of a paper? like the hugo page looked like an article, with a table of contents etc. Is that just a dream? did that happen #rstats

R Users Leeds (@r_users_leeds; 51): Do you know https://t.co/3Gt4b455ev? It helps R users to run blogs, create webs, books, and more. Our very own https://t.co/HOALrfESrG is made from a template that you too can use. So is https://t.co/xf9R2w5YIS and many more R books!

Gillian P. McHugo (@GillianMcHugo; 40): @Lycaonpictus93 @_samwilliams @NikiRust @FattebertJ @dsquintana I also used blogdown (https://t.co/2WhcuYNYnr) and would be happy to help! I’m planning to do a session for @UCD_CodeClub about personal websites in January

Sam Williams (@_samwilliams; 40): @Lycaonpictus93 I like @NikiRust’s (https://t.co/j0hc5vvdkg) and @FattebertJ’s (https://t.co/lXMT0ynWbx) websites. I had a stab at making one (https://t.co/j8rBbA89dy) using the blogdown package in R, following @dsquintana’s guide https://t.co/DdXogHC6FX. Good luck!

Ming Tang (@tangming2005; 32): make your blogdown page support latex rendering https://t.co/2ZXHqb03wJ

Giovanni Pavolini (@gpavolini; 11): Big thanks again to @xieyihui for #blogdown. Today I’m working on https://t.co/HYNvKF8MT9 and with a little tweaks explained in https://t.co/5R3Yj4nsPj I was able to make it work. #rstats

boB Rudis (@hrbrmstr; 11): @mvarmazis @gepeto42 {blogdown} #rstats (which is, ultimately, hugo)

Holly English (@Lycaonpictus93; 10): @_samwilliams @NikiRust @FattebertJ @dsquintana These all look great, thanks so much Sam! Very tempted by the blogdown approach actually…

NotQuiteDocManny (@TheMainManManny; 10): @Lycaonpictus93 @rhskraus I made mine (https://t.co/z1cZgcQJrU) using #blogdown in R. It’s really easy to use, and you can customize it as much or as little as you want!

Danielle Navarro (@djnavarro; 10): @nicoleradziwill Me: haha yeah! > Also me: I’ll just write this two page website with blogdown ๐Ÿ˜ณ

Michael McCarthy (@mccarthy_m_g; 10): @joyrevisited @hadleywickham โ€œHands-On Programming with Rโ€ and โ€œR for Data Scienceโ€ are very good intros (esp. w/ tidyverse and %>% making code easier to understand/write). Learning skills to accomplish specific tasks, and having things to look forward to (e.g., using blogdown, papaja, Shiny) also helps.

Ihaddaden ๐Ÿผ๐Ÿ—๐Ÿณ (@IhaddadenFodil; 10): @xieyihui @xieyihui thank you very much ๐Ÿ™๐Ÿ™๐Ÿ™ !!! BTW: thank you for all your amazing packages, especially Blogdown !

bookdown

boB Rudis (@hrbrmstr; 758): The plan is still to crank out an #rstats {bookdown} book of the combined #30DayMapChallenge creations on Sunday with more annotated code + explanations of why I chose each topic along with why I coded them the way I did to help provide context for folks (esp those new to GIS).

Colin Fay ๐Ÿค˜ (@_ColinFay; 460): I’m giving an internal training on JavaScript tomorrow, and writing everything in Bookdown with the {bubble} knitr-engine is quite handy: https://t.co/nNl5zu7OBm

R-Ladies London (@RLadiesLondon; 274): Thanks for bringing 3 copies of your latest book “Feature engineering and selection” for our luck winners, @topepos! ๐Ÿ™Œ > For anyone interested, the online version of the book can be found at ๐Ÿ”— https://t.co/bVX2ieUUdN > #rstats #rladies https://t.co/K918sDeOCS

Laura Aciรณn (@lacion; 61): Acceso gratis a “Feature Engineering and Selection: A Practical Approach for Predictive Models” el รบltimo libro de @topepos ๐Ÿ“˜๐Ÿ“—๐Ÿ“• (Thank you, Max Kuhn!) > ๐Ÿ”—https://t.co/wCPzAjeJrC https://t.co/PnVyquwBEr

Recle Etino Vibal (@recleev; 53): #RLessonOfTheDay use nocite metadata to cite references without mentioning them in the text body #rstats #rmarkdown #bookdown #pandoc

Deirdre Toher (@dtoher; 41): Once again I tip my hat to the incredible #rstats community. In particular the superb work of @xieyihui While others around me are trying to turn their LaTeX notes into accessible ones, mine, produced using bookdown, have passed the checks with flying colours

SethGitter (@SethGitter; 31): @EpiEllie I used Modern Dive free online book (https://t.co/oRmaK7GoaF) I am a Stata user though I think a novice could do it too Also for amusement can’t do better than YaRR a pirate’s guide to R, covers a lot of the same material https://t.co/KBTo4nbKUp

Yihui Xie (@xieyihui; 31): @IhaddadenFodil Documentation here: https://t.co/mReUb8Ybml or https://t.co/IQ8u2zsGbm or https://t.co/LxLj3qpxWB

Willy Tadema (@FrieseWoudloper; 30): Vandaag ga ik proberen om #bookdown onder de knie te krijgen. De boeken en artikelen die met dit R package gemaakt zijn, zien er goed uit! https://t.co/41iflhsTe2

Robert M Flight (@rmflight; 22): @adamhsparks @AvrahamAdler I’m also wondering how many of the popular guides to learning R (r4ds, yihui bookdown guide, swirl, to name a couple of popular ones) mention citation() and give examples of use??

Mathieu Saby (@27point7; 20): Avis aux amateurs : pour construire un livre interactif avec R Bookdown il faut (aujourd’hui) compiler les sources depuis github pour corriger un vieux bug de prise en compte des accents dans la table des matiรจres

Deirdre Toher (@dtoher; 12): Hmm, #rstats community. Does anyone have good tips for converting existing .tex files to .rmd files? Trying to come up with a way of creating more #accessible versions of existing material. #bookdown does a great job, but still requires some major manual editing (labels etc)

CRAN Package Updates (@CRANberriesFeed; 11): CRAN updates: bookdown glancedata patternplot https://t.co/y5W2NTKSXT #rstats

Robert M Flight (@rmflight; 10): @dynamic_choice xaringan all the way. Code, awesome graphs, and all the flexibility of HTML / CSS, and print to PDF if you won’t have a browser … > https://t.co/Fa1IjZek9j

Jasleen Grewal (@jasleen_grewal; 10): @pathogenomenick Bookdown is a savior, and integrates nicely with rmarkdowns #LatexThesis

David Keyes (@dgkeyes; 10): @RebantMalhotra Yes, definitely! I’m working on making it a full-fledged book (aka bookdown). This is just the first step. I’ll post on Twitter as I make progress.

Mathieu Saby (@27point7; 10): J’ai mis 1 journรฉe ร  comprendre le problรจme et pile quand j’allais faire un ticket je rรฉalise qu’il y en avait dรฉjร  un et qu’il venait d’รชtre rรฉsolu… https://t.co/DGLXKeFOuO

Gjalt-Jorn Peters (@matherion; 10): @MelissaGWolf @redskiouros @DanK_atz Yeah, great idea! Bookdown can also work well - our set-up is a bit less linear, but also uses a markdown back-end, so we can even have multiple versions. Let’s mutually follow and DM etc ๐Ÿ™‚

Melissa Gordon Wolf (@MelissaGWolf; 10): @matherion @redskiouros Yes! Let’s chat. @DanK_atz and I were just discussing creating a bookdown (instead of just posting labs, ha). Maybe Skype?

Deirdre Toher (@dtoher; 10): @noamross That does some of the very heavy lifting, still have to work on labelling and cross references (for bookdown), but this should really help colleagues get started. > Thanks!

Irene (@irenecrisologo; 10): @Shobenase I am working on it! I prepared a bookdown version, I am just waiting for a go signal from our Uni library to post it publicly.

Patrick Schratz (@pjs_228; 0/2): #rstats: Does anyone know how I can get HDPI images into bookdown? Images look fine on lap screen but horrible on a projector. Fonts are scaling but imgs do not, even though they are HDPI and Iโ€™ve set the chunk option accordingly.

Jacques (@jacquesdp; 0/1): Free online eBook, “Techincal Analysis with R” by Ko Chiu Yu. I’m constantly surprised at the quality free content available online ๐Ÿ˜Ž https://t.co/pajiupDQht #rstats #trading #investing

tidyverse tweets (@tidyversetweets; 0/1): bookdown install failed #tidyverse #rstats https://t.co/w5uLNw7fkv

knitr

Mine CetinkayaRundel (@minebocek; 1126): Even if one day I could turn off a ggplot2 legend without googling, I don’t think I will ever be able to knitr::opts_chunk$set() without googling. > *If you’re thinking “Just write an addin, Mine!”, yes, you’re right.

Colin Fay ๐Ÿค˜ (@_ColinFay; 41): @dreznik {bubble} is an R package to launch and interact with a NodeJS session, and it notably includes a knitr engine that allows you to create NodeJS notebooks from R https://t.co/ncDTioWktz

Stats for bios (@StatsForBios; 40): Ah, error = TRUE in knitr does what I wanted without me defining the hook myself. > In context, if you have a fragile vignette. You can do error = T and purl = F to stop CRAN trying to run the code and getting cross with you. https://t.co/b5QQYCPrmV

Mine CetinkayaRundel (@minebocek; 30): @renatagerecke Global chunk options: https://t.co/fQ4C9QKIsy. Very handy!

Heather Turner (@HeathrTurnr; 21): Some good tips in this thread for those hard-to-remember knitr/ggplot tricks! https://t.co/79nLOPbbvW

Mike K Smith (@MikeKSmith; 10): @minebocek - A propos .Rmd to reprex. > Workaround: knitr::purl(“reprexFile.Rmd, documentation=2) %>% reprex::reprex(input = .)

Joe Cheng (@jcheng; 10): @mwark89 Itโ€™s because objects returned by HTML() have a class that implements the knit_print S3 generic. See https://t.co/29eQxrreNB

Stats for bios (@StatsForBios; 10): @danmaclean Yes, thank you. But tryCatch goes > tryCatch({ frailCode() }) > which then doesn’t fit into the knitr chunk hook thing. > This is plan B. But to keep the vignette tidy I’d probably tryCatch with eval = T, echo = F and then eval = F, echo = T with no tryCatch.

Ramnath Vaidyanathan (@ramnath_vaidya; 10): @xieyihui The SQL engine is great! I was looking to extend it to return tbl_lazy but ran into roadblocks. The detailed issue is here https://t.co/urn7VMUJoW. Any pointers would be much appreciated.

tinytex

Yisu Zhou (@makzhou; 0/1): Upgraded tinytex and other dependencies, suddenly this doesn’t work: https://t.co/vUsjAWMArA Hope the v2.8 come soon.

xaringan

Michael DeCrescenzo (@mikedecr; 160): I did a whole high-stakes presentation with xaringan with zero(!) bugs in the way the lots-of-math rendered from the online mathjax CDN so I think I deserve that job offer, yeah?

Malcolm Barrett (AFK) (@malco_barrett; 60): @RobKnell1 @hadleywickham Yup! This is my xaringan theme, kakashi, which you can find here: https://t.co/gFBDUUshbU

Sam Abbott (@seabbs; 54): Fantastic talk/workshop slides from @malco_barrett on designing #ggplot2 #rstats plots. Covers {cowplot}, {gghighlight}, {patchwork} and much more + what a sweet #xaringan theme. > https://t.co/IapgbTd5Tn > Excited to use some of the tips in #getTBinR - particularly highlighting. https://t.co/rTvVlJ8OMN

Andrea Cirillo (@AndreaCirilloAC; 33): I thought about it two days ago and it is already out, thanks to #xaringan and @xieyihui : introducing the paletteR gallery. Thank you @neilfws @asincopado @Arfness @jmtoralc for providing your masterpieces ๐Ÿ˜. > Visit it here: https://t.co/nYINUrehtl #rstats https://t.co/T5uR6YUw42

Roxana Noelia (@data_datum; 22): xaringan Tip: Add A Logo to All of Your Slides ยท Garrick Aden-Buie https://t.co/qn0KGDYSLY

J. Colomb, @pen (@j_colomb; 20): @juancommander you could do your slides in rmarkdown (xaringan!) and have it all text and links :) > Otherwise, there is probably a way to automatize image inserts of the pdf slides using Rmagick and Rmarkdown.

Otho (@othomn; 10): Xaringan: https://t.co/1exwEiT6CJ > apply-reveal flipbooks: https://t.co/0Nr6x5FawV

Otho (@othomn; 10): Slides done with Xaringan ๐ŸŒŒ๐Ÿš€ > https://t.co/sSsBSjIdWu > using the apply-reveal script to progressively evaluate dplyr pipes and ggplot2 viz ๐ŸŒˆ

yihui.name

Lefkios Paikousis (@lefkiospaik; 21): @dvisger @theRcast @rstudio @_pvictorr @_mfaan @xieyihui Here are the slides https://t.co/EH4YhQaFIX . great stuff!

Yihui Xie (@xieyihui; 20): @biochemnerd @DevOps_Kitties Nice job! (BTW, sorry for nitpicking, but the links on these two lines are incorrect: https://t.co/3CzUa7grmX you need the https protocols, otherwise they are broken links; more on this: https://t.co/7iAJXZBQmq)