✍️ “Advanced R Markdown” 👤 Yihui Xie @xieyihui https://t.co/QLs3wFda5r #rstats https://t.co/IR1pY1vNwq

2020/09/02

#rstats

Francisco (@Fcorowe; 248/83): Making one of my #rstats courses open, inc. desc/ inferential stats + intro to #machinelearning, in case this is helpful in preparation for the next year of remote #teaching! Site here: https://t.co/cRlnPyGHdU & #github repo here: https://t.co/YEpSrNzF5m Feedback is very welcome https://t.co/KazcLKXxXv

Ian Lyttle (@ijlyttle; 236/25): Hey #rstats, your periodic reminder that glue::glue() is vectorized: https://t.co/N5sNIBDA04

Lydia Hopper (@LydiaMHopper; 210/12): Well this was a new R warning message for me; I guess my data are just too perfect! #RStats #Nonsense https://t.co/MbDv2oqsg7

Tyler Morgan-Wall (@tylermorganwall; 194/50): 1/4‼️New blog post! Did you know there’s more to a Plinko/Galton board than the Central Limit Theorem? Learn about bias, bootstrapping, hypothesis testing, linear models & interaction effects: all rendered in stunning #rayrender 3D, w/ #rstats code!

Post:
https://t.co/X4BWG0Gmf8 https://t.co/2NLtJ2gpdt

aden_buie(“garrick”) (@grrrck; 190/50): Have you ever spent forever working on xaringan slides and then been bummed when you share them on the twitter and all you see is a boring text description of your awesome slides?

Here are my tips for sharing your #rstats xaringan slides online!
https://t.co/OAbjy6wt3h

RStudio (@rstudio; 184/51): New on the @rstudio #AI blog: An introduction to weather prediction with #DeepLearning https://t.co/AgjliiLlqj #rstats

Keith McNulty (@dr_keithmcnulty; 178/37): Here’s ten practical examples of new ways of doing common data tasks in the #tidyverse. With recent updates to #dplyr and #tidyr there’s more flexibility and more control. Thanks @allison_horst for {palmerpenguins}. #rstats #r4ds #tidyverse #datascience https://t.co/i0UlpXDOeJ

Dr. Ganapathi Pulipaka (@gp_pulipaka; 176/150): Machine Learning Books You Must Read in 2020. #BigData #Analytics #DataScience #IoT #IIoT #Python #RStats #TensorFlow #Java #JavaScript #ReactJS #GoLang #CloudComputing #Serverless #DataScientist #Linux #Mathematics #Programming #Coding #100DaysofCode
https://t.co/dkcmMQODC2 https://t.co/MlbPIVT4fU

coding_monkeys (@coding_monkeys; 158/79): My love for for loop 💯💯

#Python #rstats #java #javascript #AWS #100DaysOfCode #ReactJS #Coding #CloudComputing #HTML #Serverless #cybersecurity #DataScientist ⁣#Linux #Programming ⁣#WomenWhoCode https://t.co/pFU8rvBSCv

DataCamp (@DataCamp; 123/77): Everything on #DataCamp is 100% FREE from now through September 9. Join us for #DataCampFreeWeek! https://t.co/jsMwd6lAMH #datascience #dataanalytics #python #sql #rstats #rprogramming #learnpython #learnsql https://t.co/IcIR471O0E

blogdown

Frie (@ameisen_strasse; 9/1): no, i’m not going to switch my @GoHugoIO theme in a desperate attempt to fix syntax highlighting…#rstats #blogdown https://t.co/762nZMq8dw

Robbie (@datarobbie1; 5/2): I have finally started my own blog (and made my own website completely in #rstats using #blogdown. My first article is a homage to one of my favourite podcasts @stadio on the sartorial choices of football managers and their impacts on the teams statistics

https://t.co/ZsqRzzoifo

Yihui Xie (@xieyihui; 5/0): @skyetetra @MilesMcBain FYI that “static site generator written in R” and simply generates “some html pages that link to each other” has existed in rmarkdown for a few years: https://t.co/5KIR1dpqZL (also mentioned in the blogdown book: https://t.co/MAHaTLyuh9)

Mark (@MarkGingrass; 4/5): How to add post and images in a #blogdown #hugo site using #R and #RStudio

#rstats #learnR #rprogramming #rmarkdown #stats #webdv #html #programming #datascience #datascientist

https://t.co/Ft40wLzniM https://t.co/9sNtmZmEgR

Daijiang Li (@_djli; 2/1): @mossMatters @MossPlants @github @ebsessa @NormWickett @fern_way @PlantsRChemists @MasseyHerbarium Can I suggest Hugo? And R package {blogdown} makes it so simple to build one. https://t.co/HvkY1CshyP. And here is my website as an example https://t.co/nnjrtiyCtE

Hu Chuan-Peng (胡传鹏) (@hcp4715; 2/0): @dsquintana @github I guess so.
when I encountered the issue for the 1st time, I tried a lot, none of the suggested solutions worked.
Then, one day, it somehow worked.
But since 1st Aug I had the issue again & still can’t build site locally.

so, that’ how I view the combo of blogdown + hugo: https://t.co/HNFGGUSRiV

Justin Nix (@jnixy; 2/0): @CoryPHaberman I made it with blogdown in @rstudio. Lots of tutorials online - it’s not too difficult. You can poke around on my Github to get the ball rolling.

tidyverse tweets (@tidyversetweets; 1/2): Relative path to local Lua filter saved in blogdown repo? #tidyverse #rstats https://t.co/G9jBkpxN4J

tidyverse tweets (@tidyversetweets; 1/1): Blogdown Hugo Site Featured List Shows Embedded HTML #tidyverse #rstats https://t.co/iFtwJgATEL

tidyverse tweets (@tidyversetweets; 1/1): Insert creative commons license into Blogdown footer created with Hugo-Lithium via config.toml #tidyverse #rstats https://t.co/nr5JXfgPSk

Clark Richards, PhD (@ClarkGRichards; 1/1): I don’t know how many of you out there would find this interesting, but I migrated my website (from Github-pages and Jekyll) to a new format (@GoHugoIO and @Netlify) using the #rstats package blogdown. Let me know what you think!

https://t.co/mnWNmZzBmU

Hu Chuan-Peng (胡传鹏) (@hcp4715; 1/0): @dsquintana @github Hi, Dan, Thx a lot for the tutorial. I was able to build my site w/ this tutorial.
But one issue is very annoying: after not working on the project for a while, I can’t build site, & no idea what’s wrong.
I experienced this twice
https://t.co/cql5Ahf5Gl
https://t.co/SGYe2F3Ckg

Cha w/ Michael H. (@ChaWithMichael1; 1/0): My big goals for the rest of 2020:

José Pereira (@jafcpereira; 1/0): @dr_jmartins @julicouras O conteúdo não é só teu e é de acesso mais difícil, fora os pop-ups, cookies, etc. O Hugo é um template para fazeres um site estático próprio teu (por exemplo através do R e da package blogdown) e o Netlify é free hosting. Acabas por ter maior autonomia no teu próprio site :p

Ashwin Malshé अश्विन (@ashwinmalshe; 1/0): @dsquintana @github Great, looking forward to it! Do you have any suggestions for porting existing blogdown - Academic theme website to a newer version of Academic? The theme has several new things so they porting has been quite difficult for me

Tom Elliott (@tomelliottnz; 1/0): I wrote a blog-post-thing and so I present my much refreshed website. Still a wip but I needed a day or two break from phd/inzight/etc. Uses #blogdown/@GoHugoIO
https://t.co/jYpejmid4v

bookdown

Gavin Fay (@gavin_fay; 40/5): Our group has put together a lab manual using #bookdown in #rstats that clarifies our lab culture & philosophy, & sets out to be transparent about our team’s expectations and workflows. Really grateful to @ashleighjnovak for her amazing work on this! https://t.co/Es5Kh6RLpZ

Emily Robinson (@robinson_es; 39/9): Have you thought about writing a book? @jtrnyc has made creating a book with #rstats bookdown even easier - follow her 5-minute instructions on this page https://t.co/SaEjiCSMa7 to make your own! She even has a video going through each step: https://t.co/fjt3BEBS3z

R posts you might have missed! (@icymi_r; 27/8): 📦🎓📦 “aggiedown • An R Markdown template using the bookdown package for preparing a PhD thesis at the University of California Davis”

👤 Ryan Peek @riverpeek

https://t.co/SBvmHy5JME
#rstats https://t.co/xUKK6ffwYL

tj mahr 🍕🍍 (@tjmahr; 18/2): i use bookdown to create a single-page notebook for each project. most of the scripting and plotting is done as posts (bookdown “chapters”). drake manages the data wrangling and bookdown compilation behind the scenes. https://t.co/SNUmmBqjYN

Angeline (@dataangeline; 16/9): @jtrnyc shows how to create a bookdown book in 5 minutes, so students can turn their final projects into a book! This process minimizes frustration and simplifies the workflow. See https://t.co/cuglOsvtjA for details, and https://t.co/mi47ZFV614 for video! @RLadiesNYC #rstats

Julian Faraway (@JulianFaraway; 14/3): LaTeX PDF does not satisfy UK accessibility law which is causing problems for UK mathematicians. Here is my experience in converting my lectures notes to bookdown: https://t.co/msV5mAxyab

𝙳𝚞𝚌-𝚀𝚞𝚊𝚗𝚐 𝙽𝚐𝚞𝚢𝚎𝚗 (@duc_qn; 13/3): One ebook to rule them all, 100 online R books in one huge library #rstats #bookdown #datascience https://t.co/1kJq1hd3bs

Yihui Xie (@xieyihui; 7/1): @tangming2005 @EmirTurkes1 That’s exactly what xfun::cache_rds() does: https://t.co/fvJdUxUPAA

Ashleigh Novak (@ashleighjnovak; 5/3): @gavin_fay and I have been busy putting together our lab manual using #bookdown! We hope that this can be used as a starting place for other labs as it is an importance piece of curating an open and positive lab environment.🐟#openscience @AcademicChatter #AcademicTwitter https://t.co/U0u2L4eKxH

Gavin Fay (@gavin_fay; 5/0): @mark_scheuerell @ashleighjnovak Thanks Mark! We also had mix of wiki/other resources on a ’labhub’ github repo (HT @apreshill) but decided bookdown might be both easier for others to use & for us to write/update (+ fun learning opportunity!). Seemed a good way to organize our @openscapes work (thx @juliesquid!)

Firas Moosvi, PhD (@FirasM; 4/0): Everything on this template is CC-BY-SA 4.0, use, edit, adapt, remix, share away! Support open education resources (#OER) and release your course materials!

I ❤️ the Jupyter Book project!

Also credit to @VincenzoCoia for first introducing me to this area with #bookdown.

/fin

Solomon Kurz (@SolomonKurz; 4/0): @Nate__Haines Regardless of what form this takes after it gets through peer review, I strongly recommend you make a #bookdown version of this material. Walk it out a little more slowly. Hold our hands. Show all the code.

Gina That’s Quite Close Enough Gi 🖖🏾 (@TheGinaGi; 3/2): Hey folks!
It’s not too late to register for this weekend’s #swRk workshop to learn #Bookdown in #RStats. It’s for #SocialWorkers, it’s free, and we look forward to seeing you.
https://t.co/lgjosSVNa5

Oscar Baruffa 🇿🇦🇳🇱📊 (@OscarBaruffa; 3/2): #bookdown @rstudio and @Netlify make publishing online books quite a joy

Oscar Baruffa 🇿🇦🇳🇱📊 (@OscarBaruffa; 3/1): I’m going to try GitHub actions with #bookdown tutorial from @Emil_Hvitfeldt as suggested by @ma_salmon, but what I don’t understand is what is building the book if you don’t do it in Rstudio? Am I misunderstanding this?
https://t.co/kQrdG5dpgK

atusy (@Atsushi776; 3/0): word_document2とかでもFig 2.1とかできるようPRしてきた。
https://t.co/bO1gLcqrDq

Jace Hargis (@Teach2LearnBe; 2/0): Interactive Teaching Techniques https://t.co/2JlRVfwJfg #rmarkdown #bookdown

maria blöchl @🏠 (@mariabloec; 2/0): @Nate__Haines Sure! 😊 I really liked @SolomonKurz suggestion to make a bookdown to walk a bit through the models + code & bring everything together. I am not super familiar with the models and would need to work through some code, to follow where some parameters come from + what they mean https://t.co/28xnROwzxZ

Mike Smith (@grimbough; 2/0): @OscarBaruffa Looks great! Maybe you could add a Biology section with Orchestrating Single-Cell Analysis with Bioconductor (https://t.co/OBvoFjKgpr) and Modern Statistics for Modern Biology (https://t.co/2VEVsEbCgt) - both written in Bookdown

Mark Scheuerell (@mark_scheuerell; 2/0): @gavin_fay @ashleighjnovak This is really well done, Gavin. My lab has been doing this via a wiki on GH, but the bookdown format is so much better.

tidyverse tweets (@tidyversetweets; 1/2): Bookdown: Produce only PDF, no HTML #tidyverse #rstats https://t.co/sbjxTWWbfn

tidyverse tweets (@tidyversetweets; 1/1): Use bookdown to print a simple pdf and not a book #tidyverse #rstats https://t.co/naRfT58stD

tidyverse tweets (@tidyversetweets; 1/1): Custom latex handler for fenced div blocks in bookdown #tidyverse #rstats https://t.co/z5KZ0q1kUn

tidyverse tweets (@tidyversetweets; 1/0): Creating R Bookdown book with duplicate sub-section names - Works but ToC always links to first instance #tidyverse #rstats https://t.co/Yp0hokA7OQ

J.B. Shaw (@RefocusOpen; 1/0): @dave_whipp Dave Whipp, Open Education & Python books, lesson materials and exercises. Visit Bookdown https://t.co/5Lwu9QQ9PN & MERLOT https://t.co/phTsgNZumf Enjoy :-)

Ricardo Segurado (@RcrdSgrd; 1/0): I’d love our IT dept to try this sort of thing, supporting bookdown or shiny servers, and really opening up education.

atusy (@Atsushi776; 1/0): @niszet0 bookdown demoをレンダリングするとわかるんですが、odtは扱える数式にも限りがありますね。

Nathaniel Haines (@Nate__Haines; 1/0): @SolomonKurz That’s a good idea! I hadn’t thought of that, but it would definitely make things more interactive. I eventually see this becoming a course that I would love to teach in the future, so perhaps bookdown would be the first step 🧐

Jose V. Die (@jdieramon; 1/0): Code available : https://t.co/sYY6GMbC13 #rmarkdown #bookdown
Data Source : Portal Transparencia y Datos Abiertos Valencia

First, we create a function to read the csv tables containing the air pollution data in Valencia (Spain). https://t.co/HT8MByQPzZ

Paul Sharpe (@PaulSharpeY; 1/0): @old_man_chester I just discovered that the yaml plumbing (reference_docx) already exists https://t.co/UENwRur6fW

Paul Sharpe (@PaulSharpeY; 1/0): https://t.co/YmaJv2h5RO

knitr

Alexa Fredston (@AFredston; 11/0): OK, the most effective solution I’ve found was to run knitr::plot_crop() on every file which deletes all the whitespace. still feels like there should be an easier solution to this within ggplot, though! https://t.co/3EXWVARuSW

Gavin Fay (@gavin_fay; 9/2): @AFredston Try knitr::plot_crop(“filename”).
Nice run through here by @philmassicotte:
https://t.co/rKGzG8MozS

mikefc (@coolbutuseless; 4/3): Has anyone else lost syntax highlighting in their newly generated “https://t.co/KqA4sAaard” files for github?

code chunks are now being rendered as quoted text, not code!

Not sure if it’s an issue with knitr, pandoc, rmarkdown, github or me!

#RStats https://t.co/GR85JV9Fi8

Frederik Aust (@FrederikAust; 4/0): @datalorax_ Nice! You could (optionally but by default) return the result with knitr::asis_output() so users don’t need to set results = "asis" in the chunk options.

Jacob Kaplan (@JacobKaplan19; 2/1): @jnixy @Aaron_Horowitz @rstudio @DeanObermark What about something like this

```{r, echo=FALSE, results=‘asis’}
res <- knitr::knit_child(‘child.Rmd’, quiet = TRUE)
cat(res, sep = ‘\n’)
```

from @xieyihui’s book chapter here https://t.co/itr0J0JrJl

Bryan Jenks (@tallguyjenks; 2/0): When I discovered this R 📦 loading code i immediately implemented it in all of my reports.

Super easy to load everything, and install it if i do not already have it.

Plus the packages variable is easy to pass to knitr::write_bib() for citing your 📦 💯

Gist 👇🏻

#rstats https://t.co/eYjRnRBuym

Joshua F Wiley, PhD (@WileyResearch; 2/0): Fun to write together and the whole process made much easier thanks to @xieyihui’s #knitr package + #LaTeX. that allowed most output to be automated. Amazing community creating a code to polished output process that all works. https://t.co/Z2oabbDRHg

Daniel Vidali Fryer (@_frycast; 1/0): @mguindani @ORCID_Org Yup, using #tinytex and #rmarkdown (so, #knitr too). See the scripts/setup.R and cv/cv.Rmd here: https://t.co/WCDaFlzdhv

Michele Guindani (@mguindani; 1/0): @_frycast @ORCID_Org It looks like you can incorporate it in a Latex document, is that right? knitr?

atusy (@Atsushi776; 1/0): そっかーvignette builderはknitrだからpandocは不要。pandocが必要なコードをチャンクに仕込むとpandocがなくて、CRANが怒る。なるほどー。

Ingo Rohlfing (@ingorohlfing; 1/0): @maya_sen My department uses ILIAS, which worked surprisingly well once a colleague told me about its “Exam” module. Assignments can be submitted in ILIAS and I can download them and upload feedback (or grade them in ILIAS). They were required to submit code + knitr html-reports

Felix Goldberg (@goldberg_felix; 1/0): @giroga R Sweave + knitr 😝

tinytex

Lambda (@lambdab; 1/0): @taddallas @mamabphd The good news is I gave up on miktex for now, BUT tinytex and some more uninstall shenanigans made it work! Finally, my math can look fancy…

Thanks so much for the help/moral support!

Hao Ye (@Hao_and_Y; 1/0): @lambdab Have you tried the tinytex R package? I think it’s intended to be a more straightforward path towards knitting to pdf that also involves less downloading.

https://t.co/zhYyv0WOTv

xaringan

aden_buie(“garrick”) (@grrrck; 18/4): @BeaMilz @travisgerke Yes, xaringan! I’m a big fan 😅

The source code is here https://t.co/k7sCbYeD4R I’ve accumulated lots of tricks and learned some new ones for these slides, I’m hoping to pull some out in blog posts or as additions to {xaringanExtra}

Andrew Heiss (@andrewheiss; 8/1): And here are the complete xaringan slides for this lecture on regression and Greek stuff, btw https://t.co/AgWu8Ia6Jp

It’s recording time.

Silvia Canelón (@spcanelon; 7/1): @grrrck Thanks for putting these together and, of course, for {xaringanExtra}! 👏

I recently spent (too much) time trying to figure out how to share my #rstats slides from their github repo using github pages and found this post helpful: https://t.co/sd0RGzbgiR

🎩H/T @AmazingSpeciali

Travis Gerke (@travisgerke; 6/3): Same! And I want to point out what a joy it is to work on a presentation with @grrrck (or more precisely learn from him how absolute magic can be made with xaringan). Looking forward to talking to #rstats #Rmedicine2020 friends later this afternoon! https://t.co/SgZRSSOBSO

Christophe Dervieux (@chrisderv; 5/0): @grrrck Awesome post ! Xaringan master badge is definitely yours !

Travis Gerke (@travisgerke; 4/0): @thomas_mock @grrrck @thomas_mock you won’t believe some of the xaringan stunts @grrrck pulled on this one, that title slide is small potatoes by comparison 😂

Andrew Heiss (@andrewheiss; 4/0): @kanishkamisra xaringan https://t.co/OP0j1yDN4x

R Weekly Live (@rweekly_live; 3/1): Sharing Your xaringan Slides #rstats #datascience https://t.co/CAcOxE2lHi

Silvia Canelón (@spcanelon; 2/0): I saw this minutes after my most recent xaringan share 😅but I look forward to using all of these pro tips the next time around!

I’m particularly excited about the {xaringanExtra} tools to help you embed slides in a webpage, complete with a super handy “share bar” ⭐️ https://t.co/zo9Q9qaSRK

Beatriz Milz (@BeaMilz; 2/0): @grrrck @travisgerke Is this presentation made with xaringan? You made a whole new level of ninja stuff in this presentation, if is xaringan and you could share the code, it would be awesome to try to understand how it was made 😱

niczinhaaa (@norinhax; 1/0): xaringan KKKKKKKKKKKKK

Shel 🇰🇪 (@Shel_Kariuki; 1/0): @grrrck @travisgerke @kinenealan may we reach this level of xaringan soon…😂😂 #babysteps.

Lope$ (@Coe_duck; 1/0): @coeizza Cuspindo fogo e os crlh de xaringan ativado

lisa lendway (@lisalendway; 1/0): @grrrck @thomas_mock Oooh, good to know I can use it with other R Markdown outputs. I haven’t used xaringan … yet.

yihui.name

R posts you might have missed! (@icymi_r; 333/68): ✍️ “Advanced R Markdown”

👤 Yihui Xie @xieyihui

https://t.co/QLs3wFda5r
#rstats https://t.co/IR1pY1vNwq

Miles McBain (@MilesMcBain; 11/0): @monicalent First thing that came to mind. Thoughtful, funny, humble, despite his huge influence: https://t.co/VOhwNaLNBg

aden_buie(“garrick”) (@grrrck; 3/0): @SanchezTapiaA @BeaMilz @fredfribe I love this feature too! For R code you can also use a special comment #<< at the end of a line to highlight the line
https://t.co/4D6xbN0cAJ https://t.co/886WkqZS75