Here is a not-so-humble #rstats brag: Today, for the first time in my life, I used expression() correctly to place math text on a plot axis ON THE FIRST TRY. I am tempted to quit working for the day just to end things on a high note.

2020/07/22

#rstats

Mine Çetinkaya-Rundel (@minebocek; 2384): Here is a not-so-humble #rstats brag: Today, for the first time in my life, I used expression() correctly to place math text on a plot axis ON THE FIRST TRY. I am tempted to quit working for the day just to end things on a high note.

John Hammond (@HydroHammond; 18755): Holy F$%#. What incredible drag and drop functionality for #dataexploration and plotting in R! https://t.co/DMtQAYiXF9 #rstats @ZipperSam @margaret_zimmer @FloodHydrology @adampricehydro @kampf_stephanie https://t.co/rfTFpnbPZH

Dr. Ganapathi Pulipaka (@gp_pulipaka; 176144): How to Approach the Study of #Algorithms? #BigData #Analytics #DataScience #AI #MachineLearning #IoT #IIoT #Python #RStats #JavaScript #ReactJS #CloudComputing #Serverless #DataScientist #Linux #Mathematics #Books #Programming #Coding #100DaysofCode https://t.co/yql9ZaQEu4 https://t.co/Yw6q5ZIn1h

Dr. Ganapathi Pulipaka (@gp_pulipaka; 104124): Pandas Cheat Sheet. #BigData #Analytics #DataScience #AI #MachineLearning #IoT #IIoT #PyTorch #Python #RStats #TensorFlow #Java #JavaScript #ReactJS #GoLang #CloudComputing #Serverless #DataScientist #Linux #Mathematics #Programming #Coding #100DaysofCode https://t.co/nDZEKTlWSi https://t.co/fTmUsVWuiV

blogdown

Michelle VanTieghem (@Vanti20m; 346): My first blog post is up! Learn how I made a personal webpage using R, Blogdown, and github pages. Thanks to @RLadiesNYC for getting me started on the webpage, and inspiring me to start a blog! #RStats #Rladies https://t.co/ATFs08XuL6

Connor Rothschild (@CL_Rothschild; 305): New personal site built w/ {blogdown} and a little bit of CSS has a fancy homepage I’m pretty proud of #rstats 😎 (with appearances from @roysauce & @denizhany_9) https://t.co/l6IFr20GZh

A/Prof Jenny Richmond (@JenRichmondPhD; 243): Feeling sad today so cheered myself up with a #rstats blogdown lab meeting. Trying out @tladeras portfolio theme. Excellent step by step instructions and magic netlify button! Play with the config file in git before you clone the repo strategy good too. https://t.co/EXKIiA1vZX https://t.co/Ivylg0KuZZ

Mikhail Popov (@bearloga; 111): L I F E H A C K but for {blogdown} https://t.co/Ywf2RqtjiK

We are R-Ladies (@WeAreRLadies; 101): @OmaymaS_ @CaLeyNu Last but not least one of the best #rstats bloggers is @apreshill and she can even teach you how to blog with R. She literally wrote the book on it! https://t.co/QsAThVZUfx

Houston #DefundThePolice #BlackLivesMatter Haynes (@h3techdev; 44): This is a sidebar that I wish I had when starting with blogdown in #rstats. I’m digging it more than ever, and learning more about the latest incarnations of @getbootstrap and @GoHugoIO every day. Good times. #datascience4all #MachineLearning https://t.co/4qo8p8IYxj

Benjamin Wolfe (@BenjaminWolfe; 42): #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

Corey Clatterbuck (@Cocotross; 40): @JessicaEGriffin I’m working on making one using blogdown in RStudio as an opportunity to up my coding skills. Alison Hill’s blogpost is a good starter: https://t.co/xPP4UfFxTR

Jae Yeon Kim (@JaeJaeykim2; 40): During the weekend, migrated my personal website from Jekyll to Hugo using Academic theme. Yixing and Blogdown was extremely helpful for content management and testing. Deployed on the GitHub: https://t.co/EUTvr8tdNi

Danielle Navarro (@djnavarro; 40): (also… if the hugodown side doesn’t work, which may happen because hugodown is itself a work in progress, blogdown should also work!)

We are R-Ladies (@WeAreRLadies; 30): @livin_emma @SmithCollegeSDS That is great. What is your favorite package from R Markdown family (e.g. blogdown, bookdown, rticles, xaringan, etc.)?

Hadley Wickham (@hadleywickham; 30): @bearloga Btw if you touch the rendered md so it’s newer than the Rmd, blogdown won’t attempt to re-render it

Giovany Babativa (@jgbabativam; 21): Luego de unas cuantas horas de trabajo, finalmente he publicado mi sitio web y mi primer post usando el paquete blogdown #rstats #blogdown https://t.co/egpxxzXXYC

Faria Khandaker (@aria68632; 20): @dsquintana @denisersalmeida …that poor blogdown file…. just sitting there…in my winter2020 school files….

Hao Ye (@Hao_and_Y; 20): @DrKatharynDuffy Other folks have already suggested bookdown, but pkgdown and blogdown are also options if you’re looking for different styling: https://t.co/RNzrvwrjIC

Eyayaw T. Beze (@EyayawBeze; 10): @MilesMcBain to extract R code from blogdown, web pages, kaggle, StackOverflow, ….

João (@KimJoaoUn; 10): @visualglitch91 Eu uso e tenho gostado muito, até pq é bem fácil modificar os themes, e o acervo é grandinho. Também é bem simples de operar e dar deploy. Mas eu uso via Blogdown (que é a interação do Hugo com a linguagem R), não sei se é por conta disso que acho simples.

ZulemmaBazurtoBlacio (@Zjbb; 10): Yo cuando experimenté con #blogdown y #Github🙃 https://t.co/zd5XMDBo6T

tidyverse tweets (@tidyversetweets; 0/2): Pandoc rules regarding LaTeX not followed on R blogdown hugo themes #tidyverse #rstats https://t.co/AaGA5v5NnL

tidyverse tweets (@tidyversetweets; 0/1): Why don’t the latest versions of MathJax render LaTeX equations in blogdown? #tidyverse #rstats https://t.co/avq0yZrkkB

tidyverse tweets (@tidyversetweets; 0/1): New_post in blogdown doesn’t make Rmarkdown files #tidyverse #rstats https://t.co/S1eum5soZP

baseballmapper (@baseballmapper; 0/1): Hey @JesseCambon. I just found your tidygeocoder package. Very cool, I’ll have to check it out for our map. We use #rstats blogdown and leaflet to map baseball stadiums

bookdown

Daniël Lakens (@lakens; 6211): Playing around with bookdown https://t.co/ebeo7gkekK to pull together teaching material. Very cool way to create a website! Learning R, which lead to learning Git, R Markdown, Shiny, and now Bookdown, has boosted my productivity more than any other thing I learned in my career.

Monika Jingchen Hu (@monika76five; 283): @albertbayes posts a bookdown on how to use @mcmc_stan (specifically the brms package) for fitting the Bayesian models we covered in the book https://t.co/7ZtAlz4UTB https://t.co/JjqQwk2rHH

R posts you might have missed! (@icymi_r; 266): ✍️ “Deploy your bookdown project to Netlify with Github Actions | Emil Hvitfeldt” > 👤 Emil Hvitfeldt @emil_hvitfeldt > https://t.co/kd4N2xcJTf #rstats https://t.co/04qaEirsgx

R-Ladies Queretaro (@RLadies_Qro; 1911): Métodos cuantitativos con R en español https://t.co/9YB5lb7uFv

Jacob Kaplan (@JacobKaplan19; 100): I finally managed to turn my #bookdown site into a PDF … and it’s 328 pages.

David Blodgett (@D_Blodgett; 63): Checking into some ESIP stuff this week – some good stuff right here. Open, Reproducible, and Distributable Research With R Packages https://t.co/hMhLk1rPvZ #rmarkdown #bookdown

tipsder (@tipsder; 63): Introducción a #R. Cinco libros, en español, para aquellos interesados en aprender este hermoso lenguaje. ¡Disfrútenlos! https://t.co/fHt6p6BpsO https://t.co/qhrJoN4Cl9 https://t.co/v5WGbAD775 https://t.co/ZLiwSOUuZ1 https://t.co/aSNmqgbXKm #data #rstats #rstatsES #dataviz https://t.co/nWEHOmyKwK

Mike. Why did it all go batsh*t crazy! (@RocketGoal; 44): The #Tidyverse Cookbook 👏👏👏 > #RStats > https://t.co/eSWgbYRBfu #rmarkdown #bookdown

AJ Wray (@WrayAJ; 40): @LaurJewett Geocomputation with R by Lovelace et al on https://t.co/6M9fIHNuBK is a pretty good option! > Also cc: @jedalong for other suggestions

Robin Donatello (@norcalbiostat; 32): I have officially entered into the xaringan zone, and i💚 it. I hated slide decks, but this’ll bring me back. My appreciation of @xieyihui grows. Revolutionized how educators can share materials #RStats #statseducation https://t.co/sMWKvUXBmy

ali o. ilhan (@AliOilhan; 20): @CamusYarari @AckgzFurkan Hocam harika open source kitaplar da var: https://t.co/oGdQzAbFMf

Peter Smits (@PeterDSmits; 20): no, you’re writing an RPG manual using bookdown! https://t.co/0rde6Dm21R

Solomon Kurz (@SolomonKurz; 20): @genomixgmailcom @CMastication Well, it’s in the process of being tidied. Follow along here: https://t.co/8elgCVrhAA

A. Jordan Nafa (@adamjnafa; 10): @amanyame721 @dgkeyes @hadleywickham With the added bonus of being freely available online via the bookdown platform: https://t.co/miR6HGHfTS

James E. Pustejovsky (@jepusto; 10): @MilesMcBain @EmilyRiederer You sure? I thought the point of purl was to pull out R code (w/o eval). https://t.co/f9lfL5nFpl

Max Todaro (@maxtodaro; 10): Interpretable Machine Learning https://t.co/ylYXbqCRPn #rmarkdown #bookdown

Katharyn Duffy (@DrKatharynDuffy; 10): @lisancao @_openscience Bookdown looks perfect, thanks! I’d never heard of it. 🙂

tidyverse tweets (@tidyversetweets; 0/1): mathematical expression in figure name bookdown #tidyverse #rstats https://t.co/jAo0mtWxF1

tidyverse tweets (@tidyversetweets; 0/1): Bookdown - specify MathJax URL? #tidyverse #rstats https://t.co/ArkCsa9lym

tidyverse tweets (@tidyversetweets; 0/1): Can someone provide a short tutorial on how to use https://t.co/uwlbT5xIuc with github? #tidyverse #rstats https://t.co/geBcRYX9wn

tidyverse tweets (@tidyversetweets; 0/1): Bug Report: render bookdown::gitbook but the output filename is the first heading name. #tidyverse #rstats https://t.co/fDpxOC75RT

Michael Bach (@MichaelBach99; 0/1): @lakens @writage Similar situation: first pandoc, then bookdown (which has pandoc inside). Great, BUT: Placement of figures, especially floating, is a blind spot of these tools. I fake it with blind tables, not fully satisfactory.

Harly Durbin (@harlyjaned; 0/1): @HaThaoNguyen @drjulie_b But to be clear, you can knit to a PDF directly within RStudio, I think it’s just that {rmarkdown} is using pandoc under the hood. It’s how I did all of assignments for stats classes during grad school! https://t.co/zXoq8Rq4PM

knitr

Austin L. Wright (@austinlwright; 243): Try the knitR package. https://t.co/kJadkOKsUI

Leonardo Carella (@leonardocarella; 220): @priyavshan R gives you the fabric and then you have to knitr one on your own.

kohske (@kohske; 114): LATEX超入門を送って頂きましたありがとうございます https://t.co/QMrXSEEohK ただのヨワヨワtexユーザなのに何故?と思って眺めてたら、WEBからknitrの紹介までされてました。cloudlatexベースなので環境構築すっ飛ばして説明していて超入門に丁度いいと思います。overleafユーザにも役に立ちますね https://t.co/2eJ6ZMfHPW

Nischal Shrestha (@nischaldesign; 110): @grrrck @MilesMcBain @chrisderv I discovered knit_code$get for raw internal structure for knitr chunks BUT only within a hook context (https://t.co/aTCOWUOnAm); this was a powerful technique for learnr and allowed us to construct proper rmd for evaluation. Attached sample code (gist: https://t.co/RY5aID0dae) https://t.co/Urg1HWPorM

Christophe Dervieux (@chrisderv; 81): @MilesMcBain @nischaldesign @grrrck Do you know you can get it with purl() too? You need to set the R option knitr.purl.inline to true bc by default it is false.
You can also get the inline source code by setting documentation arg to 2. You’ll get all the text, including online code, as #’ comments.

Emily Riederer (@EmilyRiederer; 61): @MilesMcBain Does knitr::purl() help? (Writes R script from Rmd)

Nicholas Tierney (@nj_tierney; 50): @MilesMcBain I wonder if you could combine knitr::purl with some of the work by @seankross @LucyStats , and @jtleek in Matahari ? > https://t.co/DPDqRJzSTY

aden_buie(“garrick”) (@grrrck; 50): @MilesMcBain Let me know if you find the answer. I was wanting to do this too and I spent some time looking into knitr internals but I couldn’t find anything user facing that returns the code chunks in a usable data format.

aden_buie(“garrick”) (@grrrck; 40): @MilesMcBain knitr definitely does this internally, eg. knitr::purl(), but I couldn’t find anything where I could access the internal data structure with the code chunks and then do my own thing with them. Maybe @chrisderv can give us a pointer?

atusy (@Atsushi776; 40): md_documentでknitr::knitしたmarkdownを出力できるようにするというニッチなPR。。。 https://t.co/MqOuGRmux1

Nischal Shrestha (@nischaldesign; 20): @MilesMcBain @grrrck @chrisderv Yes and don’t think you can disable w/in that function. You’d need to do a more global set w/ knitr::opts_hooks$set I think. With the snippet above you do get access to the raw stuff (source included). The structure is a chr with an attribute chunk_opts. Note “language” type! https://t.co/1xBG7hCIOG

Simon Grund (@simongrund89; 20): I just looked up how I can get syntax highlighting for an R markdown chunk in my knitr-based LaTeX slides, and I think I’ve come full circle. > Spoiler: I can’t. https://t.co/81rKnXmVAv

Hugh Manatee … Who was that masked man? (@znmeb; 11): @nicoleradziwill @spaceandweather Pandoc and tinytex!! RStudio bundles pandoc if you don’t already have it, but you have to install knitr, rmarkdown, tinytex and possibly rticles. And you have to set the “Sweave” settings in your project file if it’s an RStudio project.

Michael Chirico (@michael_chirico; 10): @MilesMcBain @StatnMap @jepusto @EmilyRiederer you’re not gonna like what you see inside knitr:::split_file if you hate regex 🥸

Miles McBain (@MilesMcBain; 10): @Guru_GyanKhoji I’ve learned my lesson using regex when a parser is needed. The frustrating thing is this is definitely happening inside {knitr}, there’s just nothing exposed.

Cédric Scherer (@CedScherer; 10): @chvonmatt @TimTeaFan I guess there is not even an option for what I want, just wanted to check if I maybe missed it. Likely getting used having many more knitr chunks, one for each longer command, so I can jump quickly back to the start of that code.

Cédric Scherer (@CedScherer; 10): @TimTeaFan As said my phrasing was potentially wrong. I do not mean knitr chunks but one command, e.g. a long dplyr or ggplot call.

Pedro Fonseca (@pedro_tfonseca; 10): @spaceandweather @rstatstweet Also, R markdown has Knitr on its dependencies, which in turn depends on TinyTeX, so you should be good to go without ever needing installing LaTeX manually.

tidyverse tweets (@tidyversetweets; 0/1): How many time does knitr takes do export a html file in R markdown? #tidyverse #rstats https://t.co/k6LCwwSFpc

tidyverse tweets (@tidyversetweets; 0/1): Why is KnitR not Printing Title and Abstract? #tidyverse #rstats https://t.co/hpNi2hmDrl

tidyverse tweets (@tidyversetweets; 0/1): Why does including a knitr table make figures rotate 90 degrees? #tidyverse #rstats https://t.co/XGBqrvQkQn

Tim Tiefenbach (@TimTeaFan; 0/1): @djnavarro I reinstalled the latest version of {rmarkdown} and {knitr} but that didn’t solve it. I will try updating pandoc. Apparently I‘m on version 2.3 but looking at the homepage the latest release is 2.10 so something strange is going on for sure.

pagedown

Silvia P. Canelón (@spcanelon; 82): @xieyihui’s #RStats presentation covered 1⃣4⃣ different demos from a single R Markdown document: inverting colors of the html output w a little #css, {rolldown}, {pagedown}, {learnr}, and more. > Incredibly informative and super entertaining 😆 > Video: https://t.co/9VaYdu4hOz https://t.co/XCQres0OF5

tinytex

CAP’N (@nathangs20; 40): @spaceandweather @rstatstweet You don’t have to directly use LaTeX. It will knit in the background. The TinyTex was created specifically for use with RMarkdown > https://t.co/EQ0N2GNGNh

Bryan Jenks (@Tall_Viking; 10): @spaceandweather @nicoleradziwill Or tinytex that will solve the issue as well and less memory taken up

Nicole Radziwill (@nicoleradziwill; 10): @spaceandweather It might also need MikTeX or tinytex… it’s been a while since I did it. There’s stuff the PDF generator needs behind the scenes. But def not straight up LaTeX!

xaringan

Alison Presmanes Hill (@apreshill; 253): Any #xaringan super-users (aka @grrrck) know how to embed an HTML slide deck (made with remarkjs) with a navigation bar? I usually do a bare iframe, but want something clearer for users to page through. https://t.co/IrWjpB0IAP

Andy Teucher (@andyteucher; 65): Updated the README in the repo for my #useR2020 talk on the #rspatial {bcdata} package - with abstract, links to the video, rendered slides and pkgdown site, and the xaringan rmarkdown: https://t.co/326BUddKIW

aden_buie(“garrick”) (@grrrck; 60): @apreshill Oh I see now and yeah that’s super helpful! A nice iframe interface for embedding xaringan slides was actually next on my list for xaringanExtra, so your timing is perfect!

kazutan (@kazutan; 20): メモ。 週末にxaringanのここのコードについてtestして、できればPR出す https://t.co/YPxBneI7AX

Giorgio Comai (@giocomai; 20): @grrrck @apreshill agreed that this would be nice! I put them inside the slides with this workaround, which kind of worked, but I’m sure there are more elegant solutions https://t.co/hX3xH0tXch

Bruno💥 (@Brunynhu1; 20): @Jvnq Q insignia eh aquela q parece o xaringan

Emma Livingston (@livin_emma; 10): @WeAreRLadies @SmithCollegeSDS I love xaringan! I still have a lot to learn about xaringan (and the rmarkdown family!) but it is super useful for presentations/workshops etc that include code.

Adolfo Álvarez (@adolfoalvarez; 10): @hadleywickham I would LOVE to see the xaringan eye un holographic style! 😎

Vinícius Porto (@portoviniciuss; 10): Xaríngan Kakashí https://t.co/L7ubB9scET

Matt Crump (@MattCrump_; 10): @jmarshallnz This is over a year old, and I don’t think I’ve updated xaringan since then, so hopefully this still works

Matt Crump (@MattCrump_; 10): @jmarshallnz I haven’t used xaringan in a while, having switched to mostly using ioslides. In any case, here’s some links to working code. > This is a xaringan presentation that embeds a shiny app using iframe > https://t.co/yuV6e1cJwp

Meghan Hall (@MeghanMHall; 10): @thomas_mock Just trying to get more comfortable with it in general! I know some from using blogdown and xaringan, but I’d like to understand chunks better and incorporate more Markdown into my normal analysis workflow (I really only use scripts atm).

Dana Wanzer (@danawanzer; 0/1): Hey #rstats: how do I force what output to show using xaringan? @xieyihui > For example, when running alpha::omega() there are three output (r console, data.frame, and an image) but it’s defaulting to the image. > It’s a tutorial, so I want to show all the output. https://t.co/6TqUgZ78i8

yihui.name

R posts you might have missed! (@icymi_r; 15134): ✍️💡 “15 Tips on Making Better Use of R Markdown” > 👤Yihui Xie @xieyihui > https://t.co/YVLX5tx3I3 #rstats

Konrad Rudolph 👨‍🔬💻🧬 (@klmr; 10): @idavydov @Jupyter Yup. R Notebooks share some of the problems highlighted in the talk (code reuse…) but not others. @xieyihui wrote a good summary: https://t.co/G1nfJaI6JE