💡CONOCE EL ALCANCE DE TUS RESULTADOS: EL TAMAÑO IMPORTA 👀 🧠¿Eres capaz de explicar el significado real (práctico) de los resultados de tu investigación? 🔗 https://t.co/JbxYK9iqxT #RStats #programming #100DaysOfCode #stats #dataviz #data #DataScience #Analytics #statistics https://t.co/j0JAqLQiDp

2022/09/04

#rstats

Rosana Ferrero🕊☮️🏳 (@RosanaFerrero; 379115): 💡CONOCE EL ALCANCE DE TUS RESULTADOS: EL TAMAÑO IMPORTA 👀 🧠¿Eres capaz de explicar el significado real (práctico) de los resultados de tu investigación? 🔗 https://t.co/JbxYK9iqxT #RStats #programming #100DaysOfCode #stats #dataviz #data #DataScience #Analytics #statistics https://t.co/j0JAqLQiDp

Nicola Rennie (@nrennie35; 35463): I’ve put together some aesthetically pleasing colour palettes that I’ve been using for generative art🎨 into an #rstats 📦 called {PrettyCols}! > Read the blog post here: https://t.co/0Ud7oZpPy0

Matt Dancho (Business Science) (@mdancho84; 33669): Starting out in #R can be tough. > Here are the 7 packages that have helped me tremendously. > #rstats

Matt Dancho (Business Science) (@mdancho84; 27245): Learning #timeseries can be tough. > Here are the 7 #R packages that have helped me learn time series and improve my forecasts. > #rstats https://t.co/wrSvLrccXZ

flotsam (@researchremora; 21838): A shaded relief map of Bolivia. > #rayshader adventures, an #rstats tale https://t.co/LXQxnULC5y

Matt Dancho (Business Science) (@mdancho84; 17628): I love the R ecosystem. It’s amazing for real world data science. > But it took me 5 years to learn. > So I put a 40-min webinar together that consolidates my 10 secrets from trial & error. > Learn more about what worked for me in my free webinar. https://t.co/Rq9f62knzP > #rstats https://t.co/YeLXLIaxAn

blogdown

Sharon Machlis (@sharon000; 22): Anyone know how to force a re-render of a Hugo blogdown website home page? I made a typo in a post headline, it’s fixed on the post but not on the home page/index of posts. Thanks! #rstats #blogdown

tidyverse tweets (@tidyversetweets; 21): “BLOGDOWN_POST_RELREF”>: error calling getenv: access denied: “BLOGDOWN_POST_RELREF” is not whitelisted in policy “security.funcs.getenv” #tidyverse #rstats https://t.co/vNcMTV59ou

Mickaël CANOUIL (@MickaelCanouil; 20): @sharon000 @rstats_tweets In blogdown::build_site() there is the build_rmd parameter to control if and when Rmd files are rendered.

Laure Spake 🏔️ (@LSpakeAnthro; 10): @PhDToothFAIRy So accurate – last week I got sucked into building a website with blogdown and hugo 😆 Quarto is next

nadia is iterating➿ (@jupytersmoons; 10): I’m thinking to really get started on this data blogging, firstly I think I’ll focus on R as it’s what I’m working in most. What are your favourite blog host sites??, how is GitHub and blogdown?

bookdown

د. رنا المومني (تحليل احصائي) (@experts10000; 432): 🔴🔴البيانات المفقودة missing data وكيفية التعامل معها واكتشاف انماطها باستخدام SPSS و R ⬅️https://t.co/Ab40YCm5qS… #الدراسات_العليا #البحث_العلمي #الاحصاء https://t.co/D3hC8Gt0Cy

Indrajeet Patil (इंद्रजीत पाटील) (@patilindrajeets; 3610): If you sometimes feel too lazy to name some code chunks in #rmarkdown docs, you can automate this using the {namer} 📦! 🤖 > https://t.co/ImzR6Zbi68 > I personally find name_dir_chunks() quite useful in {bookdown} projects to name unnamed chunks across all Rmd files. > #rstats https://t.co/AB6a8YUurt

tota | 統計学/R (@tota13890499; 272): この無料で見れる記事に助けられました。というかこの記事だけで市区界マップ簡単に作れます。ありがとうございました。 > 第13章 地図のグラフ | Rで計量政治学入門 https://t.co/5E3uvm2JgQ #rmarkdown #bookdown https://t.co/E4zTNSH3ON

mattfidler (@mattfidler; 113): Built rxode2 user manual for the first time since we renamed the package. Available at https://t.co/VRfJsAuEyE #rmarkdown #bookdown #RStats

Rex “garbage in” Douglass (@RexDouglass; 112): Causal Inference and Its Applications in Online Industry https://t.co/TRIHe82Zvj #rmarkdown #bookdown

Matt Baldwin (@mattwbaldwin; 100): @markhw_ https://t.co/UbvZ5c7bMA

Vikram Singh Rawat (@Guru_GyanKhoji; 82): @Rbloggers I assume this is the reason more people should read this book to write good #RStats code… https://t.co/tLDzNkhMeh

ニュー南武 (@tachnopolis25; 40): Rを使ってBeamerスライドが作れるとのことで。 > 4.3 Beamer presentation | R Markdown: The Definitive Guide https://t.co/f14KH1Jdjy #rmarkdown #bookdown

Daniel Sjoberg (@statistishdan; 40): @Lydz_is_Poppin @PipingHotData @MickaelCanouil This exact code won’t work in Rmd. But you can accomplish the same thing using child chunks! 🕺🪩🕺 > https://t.co/Ev0ZruGHCy

yaniv brandvain (@yanivbrandvain; 40): now to clas prep


AKA fighting with bookdown and canvas

د. رنا المومني (تحليل احصائي) (@experts10000; 40): Chapter2 Missing Data Evaluation | Book_MI.knit https://t.co/yr8DZw7oX9

DAT Linux (@DatLinux; 22): Anyone fancy the ISLR2 code “Labs” as a bookdown book? Here it is.. https://t.co/yL6f2l82Ij #rstats #MachineLearning #DataScience #ISLR2

Solomon Kurz (@SolomonKurz; 20): @giollabhui @dp_moriarity Here’s a free frequentist text: https://t.co/Y3yLtyf0CA

ボブさん (@bob3bob3; 20): 後で読む。 https://t.co/N3VGQ7Vjez

Kadir Jun Ayhan (한준) (@kadirayhan; 11): I am trying to create a CV using #vitae package but with bookdown, and keep getting this error (among others) : “TeX capacity exceeded, sorry [input stack size=5000].” Original codes forked from https://t.co/IAhITmkIVV. Any ideas? #RStats

Joey Bellerose (@bellerosejoey; 11): What tools would you recommend for writing a book? Ideally, I’d love something that would work with the markdown from Livebook. Maybe something like Bookdown for R.

Ariel Mundo (@amundortiz; 11): Question for #Quarto users. Can you view your PDF automatically once created using Sumatra (like RMarkdown or Bookdown do)? Help I found in RStudio said that Quarto didn’t have the same option, but I’m curious about it.

Ale Inversor (@AleInversor; 10): @Lakeman_85 Hola en el `primer gráfico no especifica pero te dejo este otro que si que indica que son de Enero del año 22. Te dejo la fuente https://t.co/gy2oku5Gy6 Un saludo y gracias por comentar!

Francesco Poli (@FrancescPoli; 10): @m_zettersten @levels_of I use mlogit (https://t.co/skEAwTuPuI) Specifying random effects can be cumbersome but this nice tutorial makes it easier (https://t.co/UjS941wMMC). It’s possible to implement multinomial mixed-effect models in brms but I haven’t looked into it yet (https://t.co/Gw03bVLi8T)

Antonio-Campos et al ;) (@aac_phd; 10): Introduction to Data Science https://t.co/9Y6osqjgFT #rmarkdown #bookdown

Shafayet Khan Shafee (@shafayet_shafee; 10): @MickaelCanouil @PipingHotData @statistishdan Sorry for being confusing. I know that following approach also works in qmd file. https://t.co/xGUG8yzYfz > But when I used {python, some_label} python-code and then {python, some_label} in qmd file, it didnt work as intended.

Peter Ralph (@petrelharp; 10): @yanivbrandvain Low-tech you can preprocess using gpp to get separate files with and without those blocks to then pass to bookdown.

yaniv brandvain (@yanivbrandvain; 10): looking for bookdown help > Is there a way to suppress certain blocks from appearing in the epub and /or pdf versions of a compiled bookdown?

Julien Pascal (@Juli3nPascal; 10): I just found this very well written website: “10 #Fundamental #Theorems for #Econometrics” > 👉https://t.co/Tzpf4x00tA > @nosnibor_mot

Kian Nassre (@KNassre; 10): @KawhiStan220 @BeshearStan @vajrpolanalyst @Trambopoline96 @EvanRosenman Honestly, this whole page does a FANTASTIC job explaining the relevant math in a really understandable way: https://t.co/ogAVQI2G2j

tidyverse tweets (@tidyversetweets; 0/1): how do i render an actual a6 paper size in R Bookdown? #tidyverse #rstats https://t.co/buNizOFovf

Lisa DeBruine 🏳️‍🌈 (@LisaDeBruine; 0/1): Does anyone know why my paged tables are invisible in a rendered #bookdown? I have df_print: paged in my _output.yml. > This should show a table under the smalldata chunk https://t.co/vl4egdnSdb > It’s there in the html, just not visible. https://t.co/n7itQJ0cCA

knitr

Miles McBain (@MilesMcBain; 7420): FINALLY introducing my latest #rstats project!

  • Draft GitHub issues in {rmarkdown} with a built-in {reprex} knitr engine.
  • Search, navigate, comment on, and update GitHub issues in an {rmarkdown} interface. > https://t.co/dFpRrPBVzZ > Headed to r-universe now.

Albert Rapp (@rappa753; 468): Did you ever need to transform multiple items from a vector to a simple sentence? Like in a parametrized report? > A neat combo to do that is: 1️⃣ combine_words() from {knitr} 2️⃣ str_to_sentence() from {stringr} 3️⃣ paste() from {base} or glue() from {glue} > #rstats https://t.co/zJeyFr9H7d

Alison Presmanes Hill (@apreshill; 416): 🧵 In the .Rmd, we pulled in the code for each plot from penguins_plots.R chunk by chunk: https://t.co/eSyD7PIsQE > 🧼🫧 This kept our manuscript cleaner and easier to read > Thanks to @earowang for showing me knitr::read_chunk() - and of course thanks to @xieyihui for writing it!

Alison Presmanes Hill (@apreshill; 282): We wrote this paper with the R Journal’s distill template. This means: > 📂 The paper is a .Rmd file: https://t.co/kqP47aUurF > 📉 We used knitr::read_chunk() to load in all our plotting code: https://t.co/54hG7UZ4g0

Mickaël CANOUIL (@MickaelCanouil; 20): @SamBrand101 @quarto_pub Only one kernel at a time, so you have to call the other languages from the main kernel: “jupyter: julia-1.7”, “jupyter: python3”, “knitr”. For short, you have to use, “reticulate”, “rpy2”, “Rcall.jl”, etc. to mix languages.

Mickaël CANOUIL (@MickaelCanouil; 20): @shafayet_shafee @PipingHotData @statistishdan Not sure what you mean. To note, everything working with {knitr} also works with #QuartoPub For Jupyter, probably using magic commands.

Jose M. Fernandez (@UofLEcon; 20): @odysseusbostick @toddrjones Yes, I use knitr to make my presentation slides, class notes, exams, etc. I use a lot of the features in rmarkdown. You can install a small latex editor with the tinytex package.

Carlos (@StarkCrentepe; 10): @AnnaBlue_17 2.2.4.2 Múltiples Descriptivos >

resumen_df <- mi_df %>%
               group_by(condiciones) %>%
               summarise(means = mean(puntuaciones),
                         sds = sd(puntuaciones))
>
knitr::kable(resumen_df)

#añadiremos el minimo y el maximo

Sam Brand (@SamBrand101; 10): @MickaelCanouil @quarto_pub Cheers. I was being nitpicky! Quarto is really cool, feels an upgrade on Weave.jl, knitr etc.

Mickaël CANOUIL (@MickaelCanouil; 10): @aghaynes @PipingHotData @statistishdan @quarto_pub Probably not, because inline R code and knitr::knit_child() can do what you want. Shortcode are evaluated using Lua, you can write a new include shortcode that rely on some parameter from the yaml header for example.

Shafayet Khan Shafee (@shafayet_shafee; 10): @PipingHotData @MickaelCanouil @statistishdan Is there any equivalent of ref.label (i.e. reuse code chunk) in quarto that would work with both engine: knitr and engine: jupyter?! (Sorry for this not directly relevant question to the tweet, googled it a lot but failed to find anything 🙁)

Odysseus Bostick (@odysseusbostick; 10): @UofLEcon @toddrjones Do you have any experience with knitr, @UofLEcon? https://t.co/4K2GsHwb6e

Calum Polwart (@ShinyBlackShoe; 10): @tclavL Knitr option - eval.after I think is what you are looking for

statquant (@statquant; 10): @JosiahParry @TaperaTinashe @MilesMcBain Not your question but you can write R scripts that are == to Rmd (see knitr::spin or jupytext)

Mickaël CANOUIL (@MickaelCanouil; 10): @StatnMap @JosiahParry @TaperaTinashe @MilesMcBain By the way, {fusen} could probably work from an R script using the proper syntax to work with knitr::spin()

Mickaël CANOUIL (@MickaelCanouil; 10): @StatnMap @JosiahParry @TaperaTinashe @MilesMcBain Let’s “knitr::spin()” instead of “knitr::render()“. This means {roxygen2} comments for all text, options, but an R script that can be sourced.

Lluís Revilla Sancho (@Lluis_Revilla; 10): @Dale_Masch Are you using the same R version in both cases? This changed recently from warning to error. It could be that terminal is using the latest R version and while knitting used a previous version. Can you knitr the document from the console ?

Ecléctikus 🐵 (@scienceisbeauty; 10): @msanz @revealjs Hay montones de alternativas, la he elegido porque hay librería en #R, y tengo mucho código ya escrito y soy muy fan de #Knitr. > https://t.co/jAjWd8fGhI

xaringan

Mickaël CANOUIL (@MickaelCanouil; 31): @PipingHotData Another example, but one of mine (beware there is French 😏): > https://t.co/E7RdxZJk7i (To note, this was before extension mechanism and one of my first {xaringan} to #QuartoPub translation)

TuQmano (@TuQmano; 31): Muchos links en las diapositivas (probando el template {xaringan} desde #rstatsES ) > https://t.co/5BVhSmG4p3

tidyverse tweets (@tidyversetweets; 12): How to make incremental slide within .pull-left[] in xaringan? #tidyverse #rstats https://t.co/yTYwtmmuu4

Dr. Sitendu Goswami (@sitendurocks; 10): @drahilger i used to make my presentations in xaringan. Recently switched to quarto. Implementation of the multi column layout is very intuitive and easy to understand in quarto. Xaringan has more features right now but soon quarto will catch up.

tidyverse tweets (@tidyversetweets; 0/1): How to insert image wrapped by text in Xaringan slides #tidyverse #rstats https://t.co/7MJZfnDw3Z

tidyverse tweets (@tidyversetweets; 0/1): Incremental does not work with $$ in xaringan #tidyverse #rstats https://t.co/T4fzl5FgKP

yihui.name

Lou Bajuk (@LouBajuk; 20): @hanwengutierrez @rstudio @xieyihui While some people may want to stck with xaringan for slides (inc. @xieyihui, see https://t.co/pUYV3oHPxe), one major advantage of Quarto is having a unified framework and syntax to output various forms of docs, not just presentations.