Setting up your blog with RStudio and blogdown II: Workflow #rstats #DataScience



R-bloggers (@Rbloggers; 7724): Setting up your blog with RStudio and blogdown II: Workflow #rstats #DataScience

R-bloggers (@Rbloggers; 7023): Setting up our blog with RStudio and blogdown I: Creating the blog #rstats #DataScience

R-bloggers (@Rbloggers; 3512): How I started a blog based on blogdown: A walkthrough #rstats #DataScience

Ted Laderas (@tladeras; 325): I’m trying to practice what I preach to my students in terms of setting up portfolios for data analysis. I’ve updated my blogdown site to have a portfolio of my #shiny apps and #rstats teaching materials:

Thomas Lumley (@tslumley; 272): Just discovered how to do footnotes in blogdown^[this is probably not a Good Thing]

Simina Boca (@siminaboca; 190): Finally sat down to revamp my blog using @xieyihui’s #blogdown and I’m pretty happy about the look. May customize it a bit more, though I really have to get to that journal club I’m giving on Friday now.

Jose Luis Cañadas (@joscani; 187): Probando con #blogdown y #Netlify, Aquí os dejo una entrada donde pongo un ejemplo de cómo entrenar un modelo con #H2O y de cómo usar ese modelo en #Spark

R-bloggers (@Rbloggers; 173): Switching to blogdown, Netlify and Travis #rstats #DataScience

R-bloggers (@Rbloggers; 154): Rcrastinate is now based on blogdown #rstats #DataScience

Yihui Xie (@xieyihui; 143): @rbjanis5 @sharlagelfand @apreshill Committing “public/” AND editing CSS in “public/”? What a horror story! 😱 I should have advertised this way harder so you won’t have a public/ at all: options(blogdown.generator.server = TRUE, blogdown.hugo.server = c(‘-D’, ‘-F’, ‘–navigateToChanged’))

Allison Moberger 🍔 (@allimoberger; 110): I may have spent 7 hours of my Saturday wading waist-deep in the weeds of #blogdown and #Hugo documentation, learning to customize a blog theme with parametrized #CSS so I can swap colors in config.toml. > Man, CSS got WAY more complicated since I learned it 17 years ago! 🤯

Lincoln M. Tracy (@lincolntracy; 72): Website now live -! Your new one stop shop to find info about my research, publications, and writing. Thanks to @dsquintana for all his help on using the blogdown package in #rstats to pull it all together.

Esteban Moro (@estebanmoro; 53): There are many good tutorials to setup your blog in #rstats #blogdown and @GoHugoIO, but I decide to write my notes about how I setup mine in 3 parts: “Setting up our blog with RStudio and blogdown Part I: Creating the blog”

Frederick Solt (@fredericksolt; 52): One topic for this week’s grad seminar was what @drob calls the “unreasonable effectiveness” of getting your work online, and how easy it is to get an academic website up and running with blogdown. Here are my notes on that second topic. >

DB Browser 4 SQLite (@sqlitebrowser; 51): Updated our website, so it’s now created using Hugo and blogdown. > The primary purpose of the change is to give us a (fairly easy) way to create blog posts. eg detailed info on changes we’re working on (etc). > Wasn’t really feasible with the previous 1-page website approach. ;)

claudîus (@dataclaudius; 42): Setting up your blog with RStudio and blogdown II: Workflow via #rbloggers #rstats #datascience

Sébastien Rochette (@StatnMap; 31): @ma_salmon @martinjhnhadley @xieyihui @MVaugoyeau This one presents the two themes I modified for bilingual and #RStats

Simina Boca (@siminaboca; 30): Many thanks also to @GenomeGal who pointed me to the exact chapter to look at in Yihui’s book (on integration with Github) which I had somehow overlooked and also to @stephaniehicks who also has an awesome #blogdown page hosted on @github.

Alison Hill (@apreshill; 30): @allimoberger @johncassil @EngelhardtCR feel free to add your pain points to this thread! > And I’ll repeat my mantra- if there is blogdown pain, consider that it is not you, it’s your theme. > My advice: start by picking your top 5 themes, don’t fall in love, you’ll probably use #5 in the end 👍🏾

Ted Laderas (@tladeras; 30): (Thanks to @apreshill for getting me up to speed with blogdown so long ago! I finally am taking advantage of the academic template better.)

Sam Abbott (@seabbs; 22): A final post looking at benchmarking in #rstats - this time using the benchmarkme package ( from @jumping_uk. Mostly focussing on the use case for virtual cores vs. #overclocking physical cores. > #DataScience #buildapc #blogdown >

Recle Etino Vibal (@recleev; 22): Played around with #rdatatale, #ggplot2, and bquote() to manipulate and plot data in one function call. With a short comparison to #dplyr and #rlang. See the results here #rstats #blogdown #datablog

Felipe Ortega (@jfelipe; 21): @dataandme @choldgraf @ProjectJupyter @zkajdan Great!! I want to develop my new blog with #blogdown, but main requirement was to be able to post both in #Python and #rstats. So… I guess I have homework for next week 😀

Bright Uduji (@EnterEnergy; 20): @jfelipe @rstatstweet @dataandme @choldgraf @ProjectJupyter @zkajdan You can blog in markdown using r blogdown?

Ilja (@fubits; 20): @TimSalabim3 @SorenWilke Happy that I found this thread while looking for clues on #blogdown + #mapview. I’m writing a blogpost on all the new cool GIS packages but actually I didn’t not intend to demonstrate mapview’s awesomeness with static PNG.

Yihui Xie (@xieyihui; 20): @CoulSim @vb_jens For future reference:

Yihui Xie (@xieyihui; 20): @bcshaffer The oldest blogdown issue that has not been fixed or closed: Yes, I’d go with static/ at the moment.

Esteban Moro (@estebanmoro; 12): And here is Part II about what is my typical workflow when writing a new post in #blogdown #rstats: “Setting up your blog with RStudio and blogdown Part II: Workflow”

Analytics France (@AnalyticsFrance; 12): Setting up your blog with RStudio and blogdown II: Workflow - #rstats

Analytics France (@AnalyticsFr; 12): Setting up our blog with RStudio and blogdown I: Creating the blog - #rstats

Nicholas Spyrison (@nspyrison; 12): #rstats blogdown gurus, error from blogdown::build_site(). > Error: Error building site: “C:\Users...\R\nspyrison_netlify\data\DIScluster_centered_basis.rda:1:1”: unmarshal of format “” is not supported > small .rmd (that knits) consuming .rda, have tried .csv. ideas?

Martin John Hadley (@martinjhnhadley; 11): Does anyone have experience with building a bilingual #rstats #blogdown website? Specifically Welsh/English, but any examples welcome @xieyihui

Data Geek (@datascigeek; 11): Setting up your blog with RStudio and blogdown II: Workflow #r #statistics #data science

Data Geek (@datascigeek; 11): Setting up our blog with RStudio and blogdown I: Creating the blog #r #statistics #data science

Thomas Hütter (@DerFredo; 11): Posted by R on, now on R-bloggers: Setting up your blog with RStudio and blogdown II: Workflow #rstats

Maëlle Salmon 🐟 (@ma_salmon; 10): @martinjhnhadley @xieyihui @MVaugoyeau Maybe more details in this post by @StatnMap who also has a bilingual website

Katarzyna Zofia Kędzierska (@kzkedzierska; 10):

Solomon Kurz (@SolomonKurz; 10): @DavidPoe223 I use #blogdown. Here’s a book-length introduction:

Javier Abella (@JavierAbellaG; 10): Setting up our blog with RStudio and blogdown I: Creating the blog

Javier Abella (@JavierAbellaG; 10): Setting up your blog with RStudio and blogdown II: Workflow

Kee Y. H. (Adrian) (@keefellow; 10): Setting up your blog with RStudio and blogdown II: Workflow #keeRtips

Mara Averick (@dataandme; 10): @EnterEnergy @jfelipe @rstatstweet @choldgraf @ProjectJupyter @zkajdan Yup!! I haven’t updated the list recently, but these resources are still excellent:

Jorge López (@jlopezper; 10): @joscani Qué fácil es hacer algo bueno con blogdown… Échale un vistazo a la mía y dime si ves algo mejorable: (la tengo asociada a un dominio propio)

Beatriz Milz (@BeaMilz; 10): @jecamanga Oi! Existe um pacote no R chamado blogdown (, que utiliza o Hugo ( para criar as páginas :D

R_Mlg (@_RMlg; 10): La página de @_RMlg está con blogdown. Usamos el comando server_site y luego actualizamos desde Rstudio con git.

fonzie (@OilGains; 10): I fully agree. #notedown would be kind of continuing the circle of reproducibility. Typora is pretty close to that model but lacks tags organization and not open source. #notedown would play as source of blogdown, bookdown. Notes is where all starts.

SevillaR (@_SevillaR; 10): @joscani Mmmm normalmente aparece automáticamente. Puedes previsualizar con blogdown::serve_site. Si usas Netlify, simplemente con añadir el post en markdown ya sale? Aquí está nuestro site, por si sirve:

Lorenz Walthert (@lorenzwalthert; 10): @rbjanis5 @sharlagelfand @apreshill I spend a fair amount of time (more than a day) to figure out how not to commit any derivatives (no markdown, no html) and let my blogdown site be built by travis and deployed to netlify. Here, you can find out how.

claudîus (@dataclaudius; 0/3): Setting up our blog with RStudio and blogdown I: Creating the blog via #rbloggers #rstats #datascience

Alex Norman (@Aarleks; 0/1): @thesiswhisperer I use #blogdown, an #rstats package to make a static site. >

Analytics France (@AnalyticsFrance; 0/1): Setting up our blog with RStudio and blogdown I: Creating the blog - #rstats

Data Scientists (@DataScienceFr; 0/1): Setting up our blog with RStudio and blogdown I: Creating the blog - #rstats

Data Scientists (@DataScienceFr; 0/1): Setting up your blog with RStudio and blogdown II: Workflow - #rstats

Thomas Hütter (@DerFredo; 0/1): Posted by R on, now on R-bloggers: Setting up our blog with RStudio and blogdown I: Creating the blog #rstats

Data Scientists (@DataScientistsF; 0/1): Setting up your blog with RStudio and blogdown II: Workflow #rstats

Data Scientists (@DataScientistsF; 0/1): Setting up our blog with RStudio and blogdown I: Creating the blog #rstats

Analytics France (@AnalyticsFr; 0/1): Setting up your blog with RStudio and blogdown II: Workflow - #rstats

William Hoyos (@whoyos21; 0/1): Setting up our blog with RStudio and blogdown I: Creating the blog. #rstats

Ahmet Ozisik (@_aozisik; 0/1): Looking to build a markdown based blog in Laravel 5? Give our Blogdown package a try😉 >

Dweepobotee Brahma (@Dweepobotee; 0/1): Hey #rstats I want to write a blogpost using blogdown which shows how to work with a particular dataset in both STATA and R. Is there a way I can embed STATA code within a blog written in R Markdown/blogdown package? Any help with this is appreciated!

Mary Jonah (@jonahmary17; 0/1): Hello #rstats community, does #blogdown treat .PNG and .png different from other image extensions? An image on my blog was not loading and I had to use .jpg

Esteban Moro (@estebanmoro; 0/0): @r_vaquerizo @joscani Ha llegado el momento de cambiarse a blogdown 😃

🇲🇽 Dr. Leonardo Collado-Torres (@fellgernon; 0/0): Has anyone else seen errors like this recently with @GoHugoIO/#blogdown 📦? There’s nothing recent on this at > Looks like a @TwitterAPI issue > My code: > Thx! (@R_Craft_Org; 0/0): Switching to blogdown, Netlify and Travis

Chandan Kumar (@Chandanrtcs; 0/0): Setting up our blog with RStudio and blogdown I: Creating the blog

Chandan Kumar (@Chandanrtcs; 0/0): Setting up your blog with RStudio and blogdown II: Workflow

Pierre DeBois - Zimana Digital Analytics Services (@ZimanaAnalytics; 0/0): A new daily post from Rbloggers, a site for R programming techniques and news - Setting up your blog with RStudio and blogdown II: Workflow

Pierre DeBois - Zimana Digital Analytics Services (@ZimanaAnalytics; 0/0): A new daily post from Rbloggers, a site for R programming techniques and news - Setting up our blog with RStudio and blogdown I: Creating the blog

Jamie Lendrum (@jamie_lendrum; 0/0): @nspyrison @rstatstweet I had exactly the same issue with my blogdown site and never figured it out. In my case the problem started when I switched from Windows to Linux, and my only solution was to remove the files. I’d love to know what the issue is.

David Lucey (@lucey_david; 0/0): #RFeedbackFriday Love feedback on 4 posts in blog to unlock open data about State of CT. Help to render kable or DT tables in blogdown w Hugo lithium theme? Ideas for how to improve structure of blog and specific post? Others with similar projects?

Yihui Xie (@xieyihui; 0/0): @nicholas_v You can use plain Markdown if your post doesn’t contain R code that needs to be executed dynamically:


Aedin Culhane (@AedinCulhane; 4819): Anyone new to @bioconductor, or any #rstats or #Python folks intrigued to know about @bioconductor. The bookdown of the workshops from the 2018 Conference is a nice starter. #DataScience @odsc #Statistics #Genomics

Danielle Navarro (@djnavarro; 232): The obvious one is The book is old enough that it predates tidyverse and there are a lot of things that I’d like to tidy up in it.. Thanks to the incredible efforts of @emilyandthelime there’s a bookdown version too & a few of us are hoping to update it

Yihui Xie (@xieyihui; 92): @juliewfarmer @sorenlind Next time you may consider replacing the 3Gb MacTeX with the 150Mb TinyTeX: and also replacing R-x.x.x.pkg with brew cask install r-app, if you want to avoid going through the same steps again in the future to upgrade them.

Andrew Heiss, PhD (@andrewheiss; 81): @causalinf @petemohanty @dclingi Check out Bookdown

scott cunningham (@causalinf; 80): Great link on Bookdown plus a bunch of other things related to Markdown. Seems like a waste to do “Causal Inference: the Remix” in R and not use Markdown so I guess I’ll use Bookdown. Thanks @andrewheiss ! Not I need to figure the Tufte style out.

Samuel Finlayson (@IAmSamFin; 70): I first noticed @SherlockpHolmes and @wolfgangkhuber book bc it was a visually gorgeous ex of reproducible bookdown glory, and TOC looked good > But I’ve been getting ready to look at rna-seq data this month, so I finally read it. Oh boy, is it awesome > Eg:

Ben Andrew (@BenYAndrew; 62): The code for both simulations and plots is on my GitHub ( Check out Statistical Rethinking ( and @SolomonKurz’s awesome companion to the text using #brms ( 66

Gail (((Clement))) (@Repositorian; 52): On it! MT @FrederikAust: I’m getting ready to submit new release of citr to CRAN. It features improved @Zotero integration and a prettified interface. Take it for a spin & let me know what doesn’t work. #rstats #rmarkdown #bookdown

Stas Kolenikov (@StatStas; 51): @jenniferdoleac This has turned around. R is now much easier to self-learn with all the great books sitting there in GitHub repos or published online with bookdown, with the learnr package that provides exercises with built-in answers, and with DataCamp courses doing the same.

scott cunningham (@causalinf; 50): Wah lah indeed! So Bookdown with Tufte will happen for the Remix. Now on to Super Bowl party. Go Rams!

Xiaosong Zhang (@zorroxinxsindi; 42): Please go to the official R Package #bookdown site: I believe @hadleywickham do have a plan continue improve this book, please stick with the official site from now on. #rstats

Ulrik Lyngs (@ulyngs; 42): The pre-print of our #chi2019 paper on digital self-control is now also an ebook on @github for easy reading - see (All praise be to @xieyihui’s #bookdown & #rmarkdown + #gitbook + #rstats for making this painless…!!) #openscience

Isabella R. Ghement (@IsabellaGhement; 41): Broadening Your Statistical Horizons > Generalized Linear Models and Multilevel Models > By Julie Legler and Paul Roback

Andrew Heiss, PhD (@andrewheiss; 40): @causalinf @petemohanty @dclingi Pretty sure there’s a way to get Tufte-esque formatting into bookdown, like @kjhealy here:

Benjamin Wong (@benkcwong; 32): A great resource from @MathiasHarrer @DDEbert on #rstats meta-analysis in #bookdown form | Doing Meta Analysis in R

wasabi (@I_G_US; 31):

María Paula Caldas (@mapaulacaldas; 31): @causalinf FYI The r4ds book was made with the bookdown package, which is powered by rmarkdown and pandoc, so you can actually export the book to pdf (you need to download the book’s github repo, which is also available online)

ʙᴏᴅᴏɴɢ ᴄʜᴇɴ (@bod0ng; 31): @dapostrophe @tophe @timtylin For pandoc, you need a bibtex file that contain bibtex of cited references: I did not try this for syllabi but used a pandoc-based R package named bookdown for online course materials. Cited references are compiled like this:

nakamichi (@nakamichi; 30): 講義資料がbookdownで,R+RStudio+rmarkdownによるreproducibility指南まで付いているのですごい./

Martin John Hadley (@martinjhnhadley; 30): @bearloga @bmwiernik @grrrck There’s some complexity w/ kableExtra in bookdown, as @haozhu233 points out > I think this is exactly what @xieyihui says about “asking for too much from markdown”

Mikhail Popov (@bearloga; 30): @bmwiernik @grrrck @martinjhnhadley Idk if it bookdown works with gt/kableExtra but splitting columns with background color could work well, I think. Like, if you make the middle column all gray and the left & right columns all white (or the other way around)?

Andrew Heiss, PhD (@andrewheiss; 30): @causalinf Voila!

Andy (@andyofsmeg; 22): Is it possible to simply purl a bookdown project (i.e. not just purl index.Rmd)? I’d have thought this would be an obvious thing to do but Google says no #rstats

María Paula Caldas (@mapaulacaldas; 21): @causalinf There is still a small cost to do it, but its a non-monetary one. Mainly knowing how to download (or clone) the repo and installing bookdown. But this cost is negligible for #rstats folks

Jessica Burnett (@TrashBirdEcol; 21): ? bookdown and thesisdown lovers (or just really smart people who know yaml). I would like to include *.tex to output::thesisdown::thesis_pdf as is done in stack link. no success, fails to parse at includes. see:

Juanjo Medina (@Juan_JoseMedina; 20): @Jerry_Ratcliffe @GioCirco Great! @r_solymosi and me do it. Working in our ongoing bookdown (welcome feedback) should b finished end of this term.

Gary Wagner (@WagnerG; 20): @causalinf @andrewheiss I use rmarkdown/bookdown for everything and I am not looking back. I place a very high value on reproducible research and this is one of the best tools since I code in R. There’s a tufte package too.

Grant McDermott (@grant_mcdermott; 20): @causalinf Scott, great thread but you’ve misunderstood something about the HTML format of the book (which is written using the amazing Bookdown package). It’s easy to remove the left column & change its appearance using the tabs at the top of the page: i.e. the Horizontal bars and the “A”.

Cynthia D’Angelo (@dapostrophe; 20): @bod0ng @tophe @timtylin oh yeah bookdown is nice. you know I <3 R. :)

Thom Baguley (@seriousstats; 20): @paulbuerkner @vuorre A colleague asked about fitting a longitudinal mediation model and I’m wondering I can do this in brms? It looks like I might be able to (based on this)

Fong Chun Chan (@fongchunchan; 12): Any bookdown/rmarkdown experts know the answer to this? #Rstats

Claire Della Vedova (@blog_SLR; 11): #rstats #rstatsFR #biostats #rstatsnewbie 💥 Nouvel article💥 : Cette semaine on dépasse le Rmarkdown et on file à l’étape suivante en créant un livre /document avec bookdown ==>

Dor Moshe (@DorMoshe; 11): Introducing: BookDown and the Bellefonte trilogy @forstmeier @ThePracticalDev #javascript #webdev

Umair Durrani (@umairdurrani87; 10): @johnjhorton bookdown > rmarkdown > LaTeX

Andrew Heiss, PhD (@andrewheiss; 10): @PStrafo @dataandme I’m excited to try out @SolomonKurz‘s brms translation of Rethinking though

Grant McDermott (@grant_mcdermott; 10): @causalinf True. You won’t necessarily have floats correctly aligned. Code chunks spanning pages, etc. > I still strongly recommend bookdown. R4DS, Kieran Healy’s socviz book, etc are all written with it. Makes exporting to multiple formats (HTML, PDF, ePub) a cinch.

Matthew Ross (@MagicalSystems; 10): Learnr is great and amazing teaching tool. Much more coming soon but quick example here: > Bookdown is amazing and helpful for gathering ideas for my nascent course:

Mara Averick (@dataandme; 10): @jfelipe @choldgraf @ProjectJupyter @zkajdan And a bunch of other language engines… @xieyihui’s 🧙‍♂️

David John Baker (@DavidJohnBaker; 10): @fakechek1 @rstatstweet If it’s that big of a project, maybe try bookdown?

Hongqiu Gu (@hqgu; 10): @Dale_Masch @xieyihui What’s the difference between bookdown and pagedown? If one want to write a book, should he choose bookdown or pagedown?

Joshua Goldberg (@GoldbergData; 10): @OilGains @xieyihui @evernote 👍🏽. I actively take notes while reading. All these notes used to go into evernote. One feature request for “notedown” would be to include a search field like bookdown. I value being able to search. Also, should “notedown” documents resemble a notebook, or disparate documents?

Benjamin Wong (@benkcwong; 0/0): Principles of Econometrics with R |

Martin John Hadley (@martinjhnhadley; 0/0): @grrrck Switching this to something else in bookdown is more frustrating than I had hoped.

tipsder (@tipsder; 0/0): @zorroxinxsindi @hadleywickham Thank you very much for the information. In the future I will consider the official site of the book. #bookdown @hadleywickham

Castañeda (@tuntsehchestnut; 0/0): またよさそうな Bookdown を見つけてしまった(困ったらこれを見ればいいやとなり勉強を放棄する // Geocomputation with R

guillermo.d (@gds506; 0/0): I find the rethinking package syntax for creating models easier to understand than the one used in the brms package #StatisticalRethinking (

Fateh BEKIOUA (@FBekioua; 0/0): @AnasBafaqeeh @Arabian_Analyst @jezahmoud في النسخة الأخيرة من Rmarkdown يمكنك إنشاء تقرير power point بطريقة مباشرة. للمزيد يمكنكم الإطلاع على هذا الرابط

Romain Lesur (@RLesur; 0/0): @hqgu @Dale_Masch @xieyihui For now, pagedown provides two output formats compatible with bookdown: pagedown::html_paged and pagedown::book_crc My advice: work with bookdown as usual and test pagedown output formats. The goal of pagedown is to provide you the ability to style your book with CSS, that’s all.

Fergus Taylor (@ferguswtaylor; 0/0): It’s really interesting working my way through the Surgical Informatics Github. I’ve even found a new bookdown textbook!, I wonder if FY1 has a study budget to attend their HealthyR course?

Dave Gasparovich (@DaveGasparovich; 0/0): @DJFreshUK An easy-to-follow, interactive beginners guide: “YaRrr! The Pirate’s Guide to R”

Jessica Burnett (@TrashBirdEcol; 0/0): @Hao_and_Y do you know how to specify that the .RMDs that i want knitted are in a subdirectory of the bookdown dir? e.g., ~/bookdownProject/chapterFiles/xxx.rmd

Marílio Meireles🇵🇹🇵🇹 (@MarilioMeireles; 0/0): 3.1 HTML document | R Markdown: The Definitive Guide

Hao Ye (@Hao_and_Y; 0/0): @TrashBirdEcol rmd_subdir in _bookdown.yml looks promising?


Ulrik Lyngs (@ulyngs; 94): Just wrote a blog post on how to create new chunk options in #rmarkdown - I was often wishing I could add e.g. arbitrary #LaTeX to figure output. Turns out you can - you don’t need to leave your .Rmd file ever again 😝 #rstats #knitr #reproducibility

J. Nathan Matias (@natematias; 53): Does anyone know how to convert a knitr doc to a static LaTeX file? I write academic papers using knitr + LaTeX, and publishers usually don’t want a version with code embedded. I worry about copy/paste errors when preparing the static version #rstats @overleaf

Indrajeet Patil (@patilindrajeets; 40): @datalorax_ @grrrck @statsgen @grrrck That worked! 👏 > For future reference, this is what I did. > .left-code[

plotting code

] > .right-plot[ `) ]

Daniel Anderson (@datalorax_; 40): @patilindrajeets @grrrck @statsgen knitr::purl should do the trick

Nate TeBlunthuis (@groceryheist; 31): @natematias @overleaf You can download the intermediate .tex files from overleaf. Compile the Rtex project and then udner “logs and output files” and then “other files and logs.” I don’t know how to get the figures built with knitr though. It would be good for @overleaf to support this better.

Naupaka Zimmerman (@naupakaz; 30): @renatagerecke @mdsumner Also for knitr::spin()

Garrick Aden-Buie (@grrrck; 20): @patilindrajeets @datalorax_ @statsgen My first thought is to hide the chunk results with results = “hide” and then use knitr::fig_chunk() to include just the figure and not the extra outputs

Adam Pegler (@pegleraj; 20): I’m in here somewhere. Thanks @nic_crane for a good evening and the Knitr sticker. I enjoyed @tapundemek’s talked on R on the cloud (will give it a go) and great to see @martinjhnhadley’s live coding awesomeness again. See you next time.

William Chase (@W_R_Chase; 10): @haozhu233 Great tips! My Xaringan sticker was designed based on the knitr sticker since they’re the same family of packages, so same font and color scheme. It’s a happy coincidence that the xaringan eye from naruto also follows that color scheme 😄

TimSalabim (@TimSalabim3; 10): @fubits @SorenWilke Just to clarify, automatic conversion of htmlwidgets to pngs in rmarkdown documents is done by knitr. But please share you blog post once finished. Cheers!

Vain Plates (@Vain_Plates; 10): KNITR

Russell S. Pierce (@RussellSPierce; 10): @ucfagls There is also the caching system of knitr. One of the options is to simply make each block depend on all previous blocks making it nearly impossible to end up with an invalid notebook. It also makes the code a little more natural to read IMO.

Kathe Todd-Brown (@KatheMathBio; 10): @SorenWilke I have failed to resist the urge to suggest you to use LaTex instead of Word >.< > knitr::kable or the pander library might have a better solution for future reference. > But done is done! As long as it works, sometimes that’s all that matters!

Brenton Wiernik 🏳️‍🌈 (@bmwiernik; 0/1): @dailyzad @simongrund89 Technically, the underlying process is Rmd is converted by Knitr to Md (replace R code with output), then Md is converted by pandoc to the output format (HTML, TeX, etc.). The citation conversion happens by pandoc in the Md -> output stage.

Juli Tkotz (@juli_tkotz; 0/0): #OpenScience community and I am familiar with a #collaborative workflow in #github as well as writing manuscripts in #rmarkdown/#knitr. I would be over the moon to investigate data or statistical #perception, e.g. how people deal with #randomness. Since that is quite specific 4\

gepuro task views (@g_rpkg; 0/0): add {BelindaYu/knitr.timing} ( ) on

Marc L Seal (@ParkvilleGeek; 0/0): Create Awesome HTML Table with knitr::kable and kableExtra

Hao Ye (@Hao_and_Y; 0/0): @favstats Replies seem to indicate that xtable() doesn’t have a good default for how to render POSIXct and so falls back to numeric. If you need a specific formatting to character, there’s format(). > Maybe also take a look at knitr::kable() for making tables?


niszet📚技術書典6 (@niszet0; 0/0):


Hao Zhu (@haozhu233; 636): Another tweet about #rstats stickers, it was honor to help @xieyihui design a sticker for tinytex. I hope this “tiny”tex joke is not as cold as the weather right now. 🥶🥶🥶

Lewis Campbell (@Lewisfromlewis; 10): I just installed dvipng to #tinytex from R meaning Libre Office’s #TexMaths works again without miktex. If this means anything to you, then you know how cool I feel for 5 minutes. If it doesn’t, then you know now how uncool a person can be.

Nicolas Roelandt (@RoelandtN42; 10): Oh… I want the tinytex sticker! So cute! 😍


Alison Hill (@apreshill; 439): To make your own #xaringan #rstats slide theme, these slides by @datalorax_ from @cascadiarconf last year are 💯:

Jason Winget (@iplusfour; 198): Whew, longer blog post today on reproducing PowerPoint templates in Xaringan. > Thanks to @apreshill and @datalorax_ for the inspiration.

Sharla Gelfand (@sharlagelfand; 120): don’t worry i have already started the most important part, learning xaringan

Gina Reynolds (@EvaMaeRey; 111): Code detail in photo. Displayed in video using #xaringan with the wonderful #reveal function under development with @statsgen and @grrrck

Robin Lovelace (@robinlovelace; 93): Just figured out ‘presentation’ mode with reproducible slides + @revealjs🎉 > 1: Make slides with #rstats xaringan 📦, open in Firefox/Chrome 2: Presentation mode 3: Clone browser 4: Move slides to projector 📽️ > 1st lecture of Transport Data Science class @ITSLeeds: upcoming!

Daniel Anderson (@datalorax_; 81): Me, to my wife just now, “I’m getting pretty good at this CSS stuff. Not every change feels like a shot in the dark!” #rstats #xaringan

Jason Winget (@iplusfour; 41): @datalorax_ @apreshill @cascadiarconf One modification: you don’t need to fork the entire xaringan pkg to add new themes. You can make a new pkg and put templates in inst/rmarkdown/templates/ Then install the package and they are available in Rstudio New>RMarkdown>From Template

Chris Mainey (@chrismainey; 40): Teaching R to our senior analysts at HED tomorrow. #xaringan slides FTW! Progressively moving our NHS benchmarking tools away from SAS and into R. #vivalaRevolución. @NHSrCommunity

iiiaui (@iiiaui; 22): Rmarkdown使い、必見! > xaringan::infinite_moon_reader()が圧倒的。上記関数をコンソールに打ち込むとRStudioプレビュータブでrender結果表示、のみならず、rmdファイルをセーブする度にプレビューしてくれてknitr::renderより断然早く結果確認できる!捗る! > #rstats #rmarkdown #rstudio #naruto

Colin Fay 🤘 (@_ColinFay; 21): @W_R_Chase But more seriously, it will be close to xaringan, as it’s also a framework for web based presentation, but the overall look is different, so it would just bring another slide alternative :) See

William Chase (@W_R_Chase; 20): @_ColinFay looks neat, what’s the difference between spectacle/reveal… ie. what will be the difference between this and xaringan?

Indrajeet Patil (@patilindrajeets; 12): #rstats fam (esp. @grrrck, @datalorax_, and @statsgen), quick question about #xaringan- > How can I extract all the R code from chunks in a separate file (e.g., > Don’t want to manually copy-paste from .Rmd to a separate .R file. > Thanks.

Chris Mainey (@chrismainey; 11): #xaringan is really great once you get going. Invest the time in custom CSS and it pays off. Any #rstats peeps got tips for printing? How can you skip incremental slides?

Grant McDermott (@grant_mcdermott; 10): @Antonio23132075 @Charles_Copley @_ColinFay R Markdown. In particular, the xaringan package with metropolis theme. You can see all of the code on the GitHub lecture repo, e.g.

Jamie Lendrum (@jamie_lendrum; 10): @kstierhoff @rstatstweet Not used it myself, but xaringan seems to be the popular thing lately.

Alison Hill (@apreshill; 10): @iplusfour @datalorax_ @cascadiarconf certainly! ^just to note that the methods described in the slides are for creating a theme that other people can ALSO use just by installing the xaringan package (which is also cool :)

Chris Mainey (@chrismainey; 0/0): @jamie_lendrum @rstatstweet I was in a similar position actually. Took me a while to figure out how to add a background images, and set font sizes. Got a reasonable template by the second attempt. I mashed our external website CSS with the xaringan default and deleted lots it!

Hao Zhu (@haozhu233; 41): @martinjhnhadley @bearloga @bmwiernik @grrrck @xieyihui I couldn’t stop looking at the dog mask on the duck’s face after I read @xieyihui’s slides: 😂😂😂