Sometimes you may wish to sample only a portion of the data. The {slice} function family from {dplyr} 📦 provides helpers to do so ✂️ https://t.co/4tt17FnvnM #rstats #DataScience https://t.co/9e8pS7KjFn

2021/10/10

#rstats

R Function A Day (@rfunctionaday; 23832): Sometimes you may wish to sample only a portion of the data. > The {slice} function family from {dplyr} 📦 provides helpers to do so ✂️ > https://t.co/4tt17FnvnM > #rstats #DataScience https://t.co/9e8pS7KjFn

Marc J. Lajeunesse (@LajeunesseLab; 21949): Dashboards are great for data snapshots–but what if you need something more agile in R? > Generate real-time, dynamic visualizations for simulations or whatevs with the 𝘀𝘄𝗶𝘁𝗰𝗵𝗯𝗼𝗮𝗿𝗱 package 📦 > See tutorial: https://t.co/DAGqDCNOdI > 🧵1/7 #Rstats #dataviz #DataScience https://t.co/77N3i0BE5i

Sourabh Singh Katoch (@SourabhSKatoch; 211130): SQL Basics Cheatsheet for Beginners Programmers by @AbzAaron > #DEVCommunity #MachineLearning #Python #IoT #flutter #AI #javascript #100DaysOfMLCode #womenwhocode #RStats #Serverless #CodeNewbie #DataScience #100DaysOfCode https://t.co/2XLGaIgbyM

Mike Kearney📊 (@kearneymw; 19925): If you’re picky about keeping the width of script files to 80 characters or less but also hate going back and adding paste0(..., ...) to long strings, you might appreciate this #rstats trick: https://t.co/spds2KIDin

Chelsea Parlett-Pelleriti (@ChelseaParlett; 19712): Convincing myself to learn the tidy-verse way to do something after using my own weird way for years and years: > #rstats https://t.co/fczk7yO0pv

Eastern Style (@EasternStyle1; 180153): Test of hexapod robot carrying objects.#Analytics #MachineLearning #AI #Python #Rstats #Reactjs #IoT #IIoT #Linux #Serverless #flutter #ML #javascript #TensorFlow #BigData #CloudComputing #SDGs #SmartCities #Cloud #SmartHome #5G #Robotics #100DaysOfCode https://t.co/zUXHw5FHIZ

Dr. Ganapathi Pulipaka 🇺🇸 (@gp_pulipaka; 166100): An #SQL Cheat-Sheet. #BigData #Analytics #DataScience #AI #MachineLearning #IoT #IIoT #PyTorch #Python #RStats #TensorFlow #Java #JavaScript #ReactJS #GoLang #CloudComputing #Serverless #DataScientist #Linux #Programming #Coding #100DaysofCode https://t.co/5khBnugG13 https://t.co/TLnMdcClNI

Helen Yu (@YuHelenYu; 144126): #SaturdayMorning on #SQL Cheat Sheet #100DaysOfMLCode #DataAnalytics #DataScience #AI #MachineLearning #IoT #IIoT #Python #RStats #TensorFlow #Java #JavaScript #ReactJS #CloudComputing #Serverless #DataScientist #Linux #Programming #coding #100DaysofCode #CodeNewbie #WomenWhoCode https://t.co/WnkM5ozXwS

Syeda Sheraj Ali (@Sheraj99; 117110): #MachineLearning Summary #DataScience #programming #DataScientists #Analytics #BigData #AI #Python #DataScience #ML #NLP #javascript #TensorFlow #Coding #Great #Serverless #100DaysOfCode #Dataviz #DEVCommunity #Devops #SQL #RStats #CodeNewbie #Linux https://t.co/AKxzXVqIhv

Syeda Sheraj Ali (@Sheraj99; 83117): Ensemble Learning in ML #Python #programming #100DaysOfCode #MachineLearning #100DaysOfMLCode #AI #womenwhocode #RStats #Serverless #CodeNewbie #DataScience #DEVCommunity #IoT #BigData #Analytics #CyberSecurity #DigitalTransformation #ML #artificialintelligence https://t.co/xE0eepySNJ

blogdown

Keith McNulty (@dr_keithmcnulty; 9717): Neat trick for adding a colorblind-friendly on/off switch for #ggplot2 to your #rmarkdown/blogdown/bookdown. Add a logical YAML parameter called colorblind and then put this in a hidden chunk at the beginning. Thanks to @thomas_mock for helping me PS this. #rstats #DataScience https://t.co/PF3M7FFm6P

Sébastien Rochette (@StatnMap; 41): Thank you @grrrck for the table of contents code for #blogdown . That’s great to be able to place it where I want in my blog post! 👉https://t.co/GBbaLu6yYO

Sébastien Rochette (@StatnMap; 30): Thank you @ma_salmon for your blog post on Utterances. I switched my #blogdown website comments system in a few minutes! 💪Goodbye, Disqus! Hello, Utterances! 👉 https://t.co/9W5cCNCmbp

Russ Hyde (@haematobot; 22): @LeafyEricScott https://t.co/3HSmnWNfzt for how to integrate css with rmarkdown. https://t.co/PzoZDsxsXt for basics of css. https://t.co/8msDcKPim5 for a bit more detail

Brad Weiner (@brad_weiner; 20): @apreshill @rstudio @IBM @gdequeiroz I am sure it’s already been asked, but will you still be posting tutorials on blogdown? If not, my website is doomed! Congrats!

👻🎃 Andrew Heiss 🎃👻 (@andrewheiss; 20): @adamjnafa @joshmccrain For now everything is in blogdown instead of bookdown since it’s got a bunch of interactive stuff and videos and I don’t plan on ever knitting to PDF https://t.co/enogeqyZEG

Harshvardhan (@harshbutjust; 20): It also talks about four amazing packages dedupewider, esquisse, aRtsy and blogdown. And much more. Don’t miss the meme at the end! > https://t.co/uIuDMxaywX

Nicholas Tierney (@nj_tierney; 10): @djnavarro @dan_p_simpson Dan! You should start your own blogdown blog! Happy to sit down one evening and help set that up, if that is a thing that would be helpful :)

tidyverse tweets (@tidyversetweets; 0/1): Is there a way to add into blogdown hugo a reveal.js slide which runs within the page? I would like to add it in a pubblication page #tidyverse #rstats https://t.co/So4LtnxHZj

bookdown

Alberto Acerbi (@acerbialberto; 15827): Happy we signed a contract with @Routledgepsych for our “Individual-based models of cultural evolution”, so a physical book will be out soon. And even happier that the online R bookdown version will remain forever free and available to everybody! https://t.co/ij30xxcrux https://t.co/E9L5N49xIT

ᶜʳᵉᵗⁱⁿᵃ:(: |🇧🇷 ᴛʜᴇ ᴄᴏᴠᴇɴ 𝑳𝐉 🐆 (@isabelacristinx; 323): Tem nem meia hora q os app do tio Marquinhos caiu e “WhatsApp/Wi-fi/imessage/Facebook bookdown” já estão nos assuntos do momento, BR é foda. > Ódio q ela mt gata pqp 🛐😔 https://t.co/JvYUTw2R7M

Alex Albright (@AllbriteAllday; 283): In case any other #econtwitter Rmarkdown writers out there have been wondering “how do I add in lil figure notes if I write with Rmarkdown??”… Here is a nice hack. > Source here: https://t.co/8w54S3UbZi https://t.co/Gg0uN30KYW

Carlos Abrahams (@abr_eco; 170): Just assembled the first complete draft of my #PhD thesis 😀 (using #bookdown in @rstudio) Still review and edits to do, but good to see it as a complete document. #ecology #bioacoustics #phdchat

Erin Gibson (@erin_research; 162): @ChattoSpeaks @PhDVoice @AcademicChatter This book is incredible (and humorous) for learning R. Really comprehensive! https://t.co/IRgxa7BWJr > Freecodecamp is also incredible and has hours of free lessons for Python.

Daniel Sjoberg (@statistishdan; 161): In the coming weeks we’ll release new versions of {gtsummary} and {bstfun} with new functions and improved documentation. New packages will be released too! > Internally, a new bookdown with tips for setting up our workspaces, links to resources, and much more is now available!

Jeff Leek (@jtleek; 62): For each of our @itcrtraining courses you can find (a) the rendered content for free on Bookdown, (b) the course on Leanpub, © the course on Coursera and (d) the Github repo with the source content. Very excited about this content development approach https://t.co/hVqndrNkVh

curso-r (@curso_r; 61): Resumindo, o RMarkdown gera relatórios de altíssima qualidade, enriquecendo muito a sua análise, e facilitando o compartilhamento de seus resultados! > Alguns materiais da curso-r sobre: https://t.co/jvUHGzY3dE https://t.co/WJ9o5JbbmI LIves: https://t.co/pebxkAxcwx > #RStats

Julie Wade (@julie_wade; 50): Looking Across Term Structure and Skew Chapter 6 All about Volatility | The Derivatives Academy https://t.co/nP6PKNZvaK #rmarkdown #bookdown

Zach T. 🛸 (@the_zach_tee; 40): @tensevowel @WayToGoPaul https://t.co/0dQNgYrpn3

Memorial Sloan Kettering Biostatistics Service (@MSKBiostats; 40): Work in progress: + @sammi_brown8, @sabs_lin & @kostrzewa_c - R bookdown for dept resources such as setting up Github, #Rstudio etc. + Christine Zhou- connecting {forestplot} to gtsummary::tbl_regression functions + @StatFei & @statistishdan tidier for {cmprsk} > 🧵5/6

Lisa DeBruine 🏳️‍🌈 (@LisaDeBruine; 40): @erinomarakunz @kierisi @_TanHo @aftonsteps Learning Statistics with R by @djnavarro is also fantastic, but might be too much intro stats for your particular situation (but I can recommend it for teaching undergrads). > https://t.co/4Yc2mi8eSO

Ilya Kashnitsky (@ikashnitsky; 32): Not sure if yesterday was good or bad for bookdown 🤔 #rstats

Peter Higgins (@ibddoctor; 31): @Hao_and_Y Does this help? https://t.co/VhSXRFWuel

Peter Higgins (@ibddoctor; 30): @KellyBodwin @JennyBryan I made it through several iterations of an e-book https://t.co/H6KiwJlEKF before I realized I needed a data package - which is now {medicaldata} on CRAN. https://t.co/cedHnb9Tjp Some notes here on the process https://t.co/0rvnppoFIN

Jeremy went to the fair without a hat (@jeremy_data; 30): @erinomarakunz @kierisi All free online and all written in R, too! https://t.co/pFrn1SrvSS

Nithin .M (@nithinnithu_m; 23): Is equation reference and label in bookdown working for everyone when rendering to word_document2? It just doesn’t work for me. Is it because I am using word 2013? Please respond > #bookdown #RStats #econtwitter #rmarkdown

Andrea Onofri (@onofriandreapg; 22): Working on our new book. First two chapters are online at: https://t.co/4Em4lOER5T Check’em out. #bookdown #RStats

Tigran Avoundjian (@avoundji; 20): @tensevowel If you’re asked to use base R, I recommend Roger Peng’s book R Programming for Data Science or YaRrr! The Pirate’s Guide to R > https://t.co/ZXpKhqs5tn > https://t.co/sHzzxHLhf8

Christophe Dervieux (@chrisderv; 20): @xieyihui @RplSmn In addition, if you want to apply like a div and not a span, e.g .box[ content ] Look at custom blocks: https://t.co/YC3hzsXe3N ::: box content :::

colin robertson (@colinr23; 20): @EcoLaurenY omg it has code folding this is awesome ive been doing course dev in bookdown and this will make that more awesome thanks

Fernando Lhamas (@fernandoslash; 20): R Markdown: The Definitive Guide https://t.co/FdYftdI95L #rmarkdown #bookdown Bastante completo

tidyverse tweets (@tidyversetweets; 12): Can I include both a per-chapter bibliography and a master bibliography at the end of the book with bookdown? #tidyverse #rstats https://t.co/lBnvJXMQmJ

Luis Fernando (@lfdelgadom; 12): Happy Git and GitHub for the useR https://t.co/tZ89qReADK #rmarkdown #bookdown #RStats #github #rstudio

Ingo Rohlfing (@ingorohlfing; 11): covered in the marvellous R Markdown Cookbook https://t.co/7mGPMCHhNP I wanted to go through this myself and perform all steps with actual files; and then might as well share this on Github 2/

tidyverse tweets (@tidyversetweets; 11): Deploy Bookdown Behind SSO Login #tidyverse #rstats https://t.co/Xc6M3J37rM

Florian Keusch (@floriankeusch; 11): @stephnie, @bellastrum, Heidi Guyer, and I are working on a book (on using wearables, apps, and sensors for data collection), and we are looking for publishers who allow authors to keep an #openaccess version (e.g., via #bookdown). Any recommendations/insights appreciated!

Rex Douglass (Computational Social Scientist/PhD) (@RexDouglass; 10): Doing Bayesian Data Analysis in brms and the tidyverse version 0.0.5 A Solomon Kurz > 2019-12-19 https://t.co/KOWUdUeUO3

Anthony Schmidt 🌎 📊 (@AnthonyTeacher; 10): @djnavarro I like it. I use bookdown/vitae/gsheets for both academic cv and standard resume. What makes this an “industry” style? I’ve always heard industry wants vanilla resumes.

Isaac Baumann (@Isaac_Baumann; 10): My ESL/ISLR examples are now even ✨F A M C I E R✨ in #bookdown! https://t.co/1yJskPsnE9 https://t.co/6k7DKPz1SE

A. Jordan Nafa (@adamjnafa; 10): @andrewheiss @joshmccrain Ah, okay I hadn’t thought about PDF. Bookdown should do fine with videos though the interactive stuff idk. I only asked because the bookdown structure might be easier to navigate through.

A. Jordan Nafa (@adamjnafa; 10): @joshmccrain @andrewheiss Have you considered a bookdown version?

Brendan Lanham (@DrBrendanLanham; 10): @RosieRiots @DrEmmaLJohnston @CoralTrace @DrKDafforn Another great post promoting #r #bookdown

ohmohm (@ohmohm; 10): Option Greeks. (“derivative”) https://t.co/CxWvNqbQNL

Traci P. DuBose, PhD (@thepopenjay; 10): This tutorial got me the closest I think : https://t.co/fvMavvQJ68

Ben Hanowell (he/him/his) (@BenHanowell; 0/1): Anybody in #RStats know what is happening with the #bookdown documentation site? The following URL links to what looks like a mangled section about the bs4_book output options. https://t.co/DuMBhcVefh

Ricky Esclapon (@Esclaponr; 0/1): If anyone has any thoughts around deploying a #bookdown document behind an SSO Google login I’d love to get your thoughts #rstats https://t.co/i0bz4TCUCP

tidyverse tweets (@tidyversetweets; 0/1): Problem with cross-reference in ioslides_presentation2 from bookdown #tidyverse #rstats https://t.co/XCpf7Xuwj3

knitr

Karina Bartolomé 💚 (@karbartolome; 11213): Desde que me enteré que se puede usar knitr::knit_exit() para knittear un .rmd hasta cierto chunk mi productividad aumento un 25%

Yll Agimi, PhD, MS² (@AgimiYll; 72): @abithoxha @rstudio @SankeyLovers @MilitaryHealth Ggplot2, Dplyr/knitr packages are good foundational. Entire list here 👇🏼 https://t.co/mfLvySqr8G

Indrajeet Patil (@patilindrajeets; 53): #rstats peeps: Has the default syntax highlighting in {rmarkdown} always been like this, or has something changed recently? > Notice that none of the {ggplot2} functions get highlighted in a different color. > Upgraded to GitHub versions of {knitr} and {rmarkdown}, but no change. https://t.co/tFEwkd3fCH

Benjamin Wolfe (he/him) (@BenjaminWolfe; 40): This is so, so cool. > For those who don’t use R… > …or don’t use it with knitr to mix text and analysis… > …or don’t use knitr chunk options to set output options on a chunk of code… > …they’ve always had to be listed on one line. The new format is just really, really nice. https://t.co/35mPmEqcVn

Matt Johnson 🏵️ (@mrjoh3; 31): @MilesMcBain @coolbutuseless The viewer panel and integration with knitr, shiny, package documentation, test and build tools leave me not feeling the need to explore alternatives. Oh, and Rstudio addins are really handy and easy to build to simplify any workflow

Alex Albright (@AllbriteAllday; 31): I am excited to see that this was requested as a knitr feature (by another economics phd student no less!) > https://t.co/JqNe29FGWo > Here’s to hoping one day we can just do this via a chunk option 🤞

Omar Wasow (@owasow; 30): @TomPepinsky @benlauderdale @rudeboybert @old_man_chester Also, a focus on speed or elegance of syntax misses that much of statistical work is communication not computation. Magical publishing tools like knitr, rmarkdown & Xaringan (thx @xieyihui!) and other major extensions like ggplot are huge advantages of R vs Julia & Python.

Courtney Hilton (@courtneybhilton; 30): @Sakiera_Hudson No problem. Also, run a summary() on it at the end for a more interpretable output and if you’re working with a .rmd (it only works on .R) you can convert it to a .R file first with knitr::purl()

Aedin Culhane (@AedinCulhane; 21): @RagoVago @rstatstweet Use rmarkdown::render for Rmd or R script. > (render calls knitr::spin to generate a report from an R script). > Then at the cmd line, use Rscript > Rscript runscript.R & > Rscript -e “rmarkdown::render(‘myreport.Rmd’, clean=TRUE)” > Or use R CMD BATCH https://t.co/Ai6ksKk362

Francisco Garre (@Fran_gfr; 20): @patilindrajeets I have read that to highlight functions in R markdown output you have to change the highlighting options before using knitr. Here is where I read it (I hope it helps). > https://t.co/WOtgHkNhMx

Keith McNulty (@dr_keithmcnulty; 20): @bookfriend4 This is a really new development in the latest version of knitr. The #| prefix will be interpreted as a code chunk option rather than a straight comment.

ill-identified (@ill_Identified; 20): upLaTeX + upBibTeX で動作させる例も作りました. BXjscls の機能に頼ってるだけですが, Pandocテンプレートも作れば科研費LaTeXみたいなのも(たぶん)そのうちQuartoで作れると思います > https://t.co/SNNzyUUYM2 https://t.co/WkuxNNIwdv

tidyverse tweets (@tidyversetweets; 11): Why doesn’t knitr’s root.dir option apply to relative child document paths? #tidyverse #rstats https://t.co/3xTFeFvqEm

tidyverse tweets (@tidyversetweets; 11): Can we use glue function inside a knitr kable function? #tidyverse #rstats https://t.co/O8M9N527Jp

Ewan Donnachie 🇬🇧🇩🇪 (@ERDonnachie; 11): A fun day lies ahead debugging a #knitr LaTeX report. #RStats > Seems that knitr was updated over Summer, and now my catted “\begin”s are being printed verbatim in the PDF. > ➡️ LaTeX Error: Not in outer par mode.🧟

Yohan J. Rodríguez (@hasdid; 11): #R #Automated | {knitr} 1.36 https://t.co/WP9PjMpZyD

Christophe Dervieux (@chrisderv; 10): @RCoderWeb @gavinprm It sees like an issue. I remember some related thing about plot file name with python chunk a while back but I thought it was fixed already. > Are you using the last version of reticulate and knitr ? Have you tried the dev version of reticulate ?

Karina Bartolomé 💚 (@karbartolome; 10): @CitocromoB1 Hola! Va así directo como puse, sin argumento, al incluir un chunk con el código knitr::knit_exit(), luego de knittear el documento se renderiza hasta el lugar en donde incluiste ese chunk

Max Kuhn (@topepos; 10): @TiffanyTimbers @juliasilge One thing we need to do better is to wrap or truncate messages coming from base R or other packages (e.g. “rank deficient matrices”). They can be long. > There might be a pure knitr solution that could help here too but I have tried and failed to find one.

pagedown

Danielle Navarro (@djnavarro; 20): @maryclarecc If you’re looking to create a short résumé in this style using {pagedown}, the nice thing is that the default template will recreate this resume from R markdown: > https://t.co/bkl177Q70R > If that looks close enough to what you’re hoping for, it might be fairly straightforward?

tinytex

R-bloggers (@Rbloggers; 32): Running old versions of TeXlive with tinytex {https://t.co/P5j4RZBJKO} #rstats #DataScience

Data Scientists (@DataScientistsF; 22): Running old versions of TeXlive with tinytex - https://t.co/su3c1cVM4K - thanks @RichardEudes #DataScience #DS,#MachineLearning,#Analytics #DataScience

Big Data Analytics (@BigData_Fr; 21): Running old versions of TeXlive with tinytex - https://t.co/Tyd3CL3FHQ - thanks @RichardEudes #DataScience #DS,#MachineLearning,#Analytics #DataScience

Yohan J. Rodríguez (@hasdid; 11): #R #Automated | {tinytex} 0.34 https://t.co/XfiasXxDi0

Joe Wasserman (@JoeWasserman; 10): @nickchk No Stata, but: have you tried installing via pip and then pointing reticulate to the install? Seems like it shouldn’t matter, but I often find installing non-R dependencies outside of R more reliable. (Except for tinytex which is so so so good)

xaringan

Tom Mock 💉💉🎉 (@thomas_mock; 341): I’m taking a page out of Yihui’s book and adding a random headshot into all my future {xaringan} slides but rather than Karl… > It’s a Howard dog. You’re welcome in advance! > #HowieTheHound https://t.co/DkVMXju7QC

Shannon Pileggi (@PipingHotData; 80): @shilaan01 Check out @grrrck’s CSS {xaringan} playground talk from rstudio::global(2021) https://t.co/iJcNyDJ1On

Yihui Xie (@xieyihui; 80): @RplSmn FYI the syntax is [text]{.mycolor} in Pandoc’s Markdown. Someday xaringan may support this syntax in addition to .mycolor[text].

#rstats 🤖 (@rstatsvideo; 51): 📺 #rstats video: Why I don’t use Powerpoint to present Data Analyses ▶ StatistikinDD (@StatistikInDD) 🗣 🇬🇧 #gganimate #plotly #dataviz #datavisualization #reporting #presentation #xaringan #interactivechart #htmlpresentation 🔗 https://t.co/c7AyxC3eiW

faye (@virotaD; 50): minha semana está sendo baseada em fazer slides no xaringan

Raphaël Simon (@RplSmn; 40): Just realized how spoiled I am by @xieyihui {xaringan} when I tried to use .mycolor[text] in a regular Rmarkdown and it doesn’t work and I have to write <span style=”color: mycolor;”>text</span> and i’m already exhausted by this writeup!

John Paul Helveston (@JohnHelveston; 21): @ciftciphd Source files for the entire course website: https://t.co/0aY4fil7jm > Source for that particular lecture on data wrangling (xaringan slides): https://t.co/FNQeze0Iq8

tidyverse tweets (@tidyversetweets; 11): Bibliography and citations with Xaringan and RMarkdown #tidyverse #rstats https://t.co/5YethPsdqm

Gina Reynolds (@EvaMaeRey; 10): @chrisderv @xieyihui It is for this project: https://t.co/PNdxGzEcBz to reproduce code and output side by side that is executed in interactive session (so history). temporarily called ggmemory. Xaringan slides from a template for how to use: https://t.co/WNudwS3c3H

Arindam Basu (@arinbasu; 10): @kwbroman Why did I think of Xaringan when I read this tweet, :-)?

🌱Paul Julian PhD (@SwampThingPaul; 10): Pulling together a presentation for a conference…do I keep my xaringan slides or go back to powerpoint. Oh, the dilemma!! https://t.co/R0CZfRkdwy

Arantxa Rodriguez Uribe (@MAranzazuRU; 10): @sante_howard For RMarkdown I use xaringan package (https://t.co/GntQFfVgpz) which I find very nice (and the author refers to it as “slide ninja” which already wins points).

Michael Flynn (@flynnpolsci; 0/2): #rstats question: Anyone have problems with xaringan compiling on the new Mac OS and/or chip? That is, not Intel? This is the one thing on the new Mac that seems to be going super slow.

tidyverse tweets (@tidyversetweets; 0/1): Add border to the first slide in Xaringan with CSS #tidyverse #rstats https://t.co/3r9ro3CIIi

tidyverse tweets (@tidyversetweets; 0/1): xaringan slides not rendering properly when deployed on github pages #tidyverse #rstats https://t.co/ZXFjV4RZaw

yihui.name

Alison Presmanes Hill (@apreshill; 60): @KellyBodwin Did you change the YAML to self contained? https://t.co/yR7zvDBuui