{
  "title": "'Geocomputation with R, a book on geographic data analysis, visualization and modeling.' by @robinlovelace https://t.co/cTOUDMyljw #rstast #bookdown #rmarkdown #geocomputation https://t.co/KmJtWrjMEX",
  "date": "2022-10-30"
}

# #rstats

> **Gabriel Zanlorenssi** (@gzanlorenssi; 392/52): Oi, pessoal, vou compartilhar aqui alguns dos códigos de R (#rstats) que vou usar domingo para pegar os dados em tempo real direto do TSE
> >
> No dia, é só mudar o código do pleito 
> >
> 1- Resultado geral do 2T. Ao final gera uma tabela como na img
> https://t.co/HdzxCiFGYg https://t.co/no0aoLRhJ4  [&#8618;](https://twitter.com/gzanlorenssi/status/1586097455283609600)

<!-- -->


> **Rosana Ferrero🕊☮️🏳** (@RosanaFerrero; 284/68): 👀 ¿Sabías que puedes realizar gráficos profesionales con ggplot2 de manera interactiva?
> 👉 Prueba el complemento (Addin) 📦 esquisse y copia el código que genera
> 🔗 https://t.co/adXTyJahu6 
> #datascience #analytics #dataviz #datavisualization #stats #data #machinelearning #RStats https://t.co/ibx5OxZdIN  [&#8618;](https://twitter.com/RosanaFerrero/status/1586448546622066690)

<!-- -->


> **Josh Erickson** (@joshualerickson; 174/41): Having fun with a couple 'soon to be' functions in {gwavr}. Heavy lifting {whitebox}. More to come! Hydro/stream network stuff.
> >
> Worldwide 🌍: ✔️
> >
> #rstats #hydrology #gis #water https://t.co/3PCQ0If6Cm  [&#8618;](https://twitter.com/joshualerickson/status/1586188100434546688)

<!-- -->


# blogdown

> **Frank Harrell** (@f2harrell; 68/10): I finished converting my Statistical Thinking blog at https://t.co/8sdCD3RJoQ from blogdown-&gt;hugo-&gt;github-&gt;netlify to Quarto-&gt;manual netlify deployment.  MUCH cleaner, with better article formatting and search capabilities.  #StatThink @vandy_biostat @VUDataScience @quarto_pub  [&#8618;](https://twitter.com/f2harrell/status/1585655801422774272)

<!-- -->


> **Cédric Scherer** (@CedScherer; 5/0): @rappa753 Thanks! No, it's still my old blogdown x HUGO page. No time to build a new one 😁  [&#8618;](https://twitter.com/CedScherer/status/1584989777933533184)

<!-- -->


> **Ben Bolker** (@bolkerb; 5/0): @gshotwell @flowuenne @quarto_tweets or if you work with the extended *down ecosystem (blogdown/bookdown/etc.), which I think is better integrated/more coherent/built into Quarto (I don't really know, I don't use any of that stuff myself)  [&#8618;](https://twitter.com/bolkerb/status/1584694612413018113)

<!-- -->


> **BHSci_, R & Graphical Art 🦄🇨🇦🌈** (@StarTrek_Lt; 3/0): @flowuenne Quarto makes making new blog posts so much easier than blogdown. 
> Quarto markdown can run python and R in same file
> changing themes &amp; customization is easier than Hugo mess  [&#8618;](https://twitter.com/StarTrek_Lt/status/1584714747790135297)

<!-- -->


# bookdown

> **R Markdown** (@rmarkdown; 482/111): 'Geocomputation with R, a book on geographic data analysis, visualization and modeling.' by @robinlovelace https://t.co/cTOUDMyljw #rstast #bookdown #rmarkdown #geocomputation https://t.co/KmJtWrjMEX  [&#8618;](https://twitter.com/rmarkdown/status/1585934511250223105)

<!-- -->


> **David Grubbs** (@crcgrubbsd; 38/12): Happy Friday! If anyone has written or is writing a free online book, i.e. on bookdown, github, etc. and would like to discuss doing a parallel print version with CRC, I would be happy to discuss this with you. #rstats #datascience @CRC_MathStats
>  #statstwitter #econtwitter https://t.co/ZtQaUeAvaK  [&#8618;](https://twitter.com/crcgrubbsd/status/1586042150667567105)

<!-- -->


> **cpcex_lab** (@cpcex_lab; 31/11): [Novidade!] Capítulo 9 publicado! Como ele, você pode aprender técnicas automatizadas para classificação de conteúdo. Além disso, confira o que está por vir no Cap 10 do livro Texto como Dado para Ciências Sociais: https://t.co/YAxgs2A8d3
> @monimazz 
> @davicmoreira  
> @politicaufpe https://t.co/kGyVGshtBt  [&#8618;](https://twitter.com/cpcex_lab/status/1584284170091606016)

<!-- -->


> **tipsder** (@tipsder; 11/5): ¡Introducción a la minería de datos con #R!
> Libro, en español, con una interesante introducción a la miería/analítica de datos con R.
> Gracias al autor por este aporte a la comunidad hispanohablante.
> https://t.co/Aixu4nXcIo
> #rstats 
> #DataScience 
> #dataviz 
> #DataVisualization https://t.co/kxl8xfmYza  [&#8618;](https://twitter.com/tipsder/status/1585000874786422784)

<!-- -->


> **Stéphane ROBERT🚲🏔️🏖️** (@RobertStphane19; 6/2): Finalement en testant mdbook et bookdown je pars sur le premier. bookdown est en R et pas envie de l'installer. mdbook est écris en rust et correspond à mes attentes. 
> https://t.co/QzwFSD9omv  [&#8618;](https://twitter.com/RobertStphane19/status/1584223584670560257)

<!-- -->


> **Jeff Rothschild** (@EatsleepfitJeff; 4/0): @jem_arnold @EliasLehtonen @felipe_mattioni Courses - https://t.co/JEu1LDixVH
> https://t.co/DF0llqQbYK
> >
> Books - https://t.co/UIuAKLGUIM
> https://t.co/a1iGPG2d6K
> https://t.co/EYFdCm7mRO
> https://t.co/jmzTWoswun
> https://t.co/mvM95jauYZ
> https://t.co/k5UnCPZVVO
> https://t.co/j27ABhWqOZ  [&#8618;](https://twitter.com/EatsleepfitJeff/status/1585338854600736768)

<!-- -->


> **r_tips** (@r_tipss; 3/4): [PAQUETE 📦] - ¿Necesitas armar un libro? Probá con {bookdown}, un paquete que te facilita esta tarea a través de Rmarkdown 
>  
> 🌐 https://t.co/nBgIgImeBG
> ✍🏼 @rstudio @xieyihui   
>  
> #RStats #RStatsES #Rtips #DataScience  [&#8618;](https://twitter.com/r_tipss/status/1586349220327481344)

<!-- -->


> **CALC | Coming soon to Kujira 👀 🐋** (@CALC_Finance; 3/0): Without getting too technical, Risk Decomposition is a two-step process:
> >
> 1️⃣ Measure your entire portfolio's risk (i.e. the standard deviation of past price changes)
> >
> 2️⃣ Calculate the Percentage Contribution To Risk (PCTR) of each asset.
> >
> (RD in full 👇 )
> https://t.co/WDVJ26cMSl  [&#8618;](https://twitter.com/CALC_Finance/status/1585932266148360197)

<!-- -->


> **That Masked Woman** (@JTMontgomery8; 3/0): @gtconway3d @ThePlumLineGS This sounds like a job for the law of iterated expectations.     https://t.co/l0j4o8XW8b https://t.co/R2xZWDIWoh  [&#8618;](https://twitter.com/JTMontgomery8/status/1585880524651798528)

<!-- -->


> **Richard Torkar 🇺🇦** (@rtorkar; 2/1): @Emmanuelmiiro25 @Lelia_BStephens @rlmcelreath And the brms code that @SolomonKurz prepared from the book: https://t.co/1J1kpYmZjV  [&#8618;](https://twitter.com/rtorkar/status/1586635713445085184)

<!-- -->


> **REDRUM Lagoe** (@RedLagoe; 2/0): @HaileyPiperSays That's the exact page I left off on before having to put the bookdown to do mom stuff.😄  [&#8618;](https://twitter.com/RedLagoe/status/1585945658359431168)

<!-- -->


> **DEC UNS Bahía Blanca** (@ProgramaAEDuns; 2/0): @nicoescandar82 https://t.co/BkoKgxDxnp  [&#8618;](https://twitter.com/ProgramaAEDuns/status/1584381264781406213)

<!-- -->


> **Carlos Rivera** (@Galindes; 1/1): New book by @HolbrookTom alert: "An Introduction to Political and Social Data Analysis Using R".
> >
> #rmarkdown, #bookdown, #AcademicTwitter.
> >
> https://t.co/lCoScYShLS  [&#8618;](https://twitter.com/Galindes/status/1585369210099994624)

<!-- -->


> **แงว🦭#ปล่อยเพื่อนเราทุกคน #หยุดผูกขาดมือถือ** (@phr6050; 1/1): เคยอ่านแต่เล่ม 3 เป็นหนึ่งใน text book ที่ส่วนตัวรู้สึกว่ายอดเยี่ยมสุดๆ  ดีต่อการทำ data visualization มากๆๆๆ สต. ยกให้เป็นหนังสือที่แนะแนวทางทำ data viz ใน R ที่ดีที่สุดที่ช่วยให้เราสร้าง graph &amp; chart ให้เข้าใจง่ายและสวยขึ้นอย่างมาก อ่าน online ได้ใน https://t.co/bb1cSSbVWG เลย https://t.co/vk43QekliK  [&#8618;](https://twitter.com/phr6050/status/1584169846828564480)

<!-- -->


> **Jason N. Doctor** (@jasndoc; 1/0): @hawesmt https://t.co/nxGGQ1m5kY  [&#8618;](https://twitter.com/jasndoc/status/1586038018799828993)

<!-- -->


> **That Masked Woman** (@JTMontgomery8; 1/0): @gtconway3d @ThePlumLineGS George, there is a law about this:   the law of iterated expectations.
> >
> https://t.co/l0j4o8XW8b  [&#8618;](https://twitter.com/JTMontgomery8/status/1585879269275598848)

<!-- -->


> **José A. Calvache** (@jacalvache; 1/0): Very good introductory chapter !  Ch. 7. Causal inference &amp; DAGs | (Mostly Clinical) Epidemiology with R  by @brophyj https://t.co/6k8JfQppcr #rmarkdown #bookdown #epitwittee @mcgillu  [&#8618;](https://twitter.com/jacalvache/status/1585040596540231681)

<!-- -->


> **Sumin Lee** (@sumin_s_lee; 1/0): @DongilLee2 Highly recommend this book! https://t.co/IeIzIWhUfx  [&#8618;](https://twitter.com/sumin_s_lee/status/1584904455467704327)

<!-- -->


> **txt4cs** (@txt4cs; 1/0): [Novidade!] Capítulo 9 publicado! Como ele, você pode aprender técnicas automatizadas para classificação de conteúdo. Além disso, confira o que está por vir no Cap 10 do livro Texto como Dado para Ciências Sociais: https://t.co/RiOqht0vBw
> @monimazz 
> @davicmoreira  
> @politicaufpe  [&#8618;](https://twitter.com/txt4cs/status/1584284303860457473)

<!-- -->


# knitr

> **R Markdown** (@rmarkdown; 68/23): Learn to use R in LaTeX to create dynamic documents with Overleaf and Knitr. by @citedrive https://t.co/7aIP7zCQL3 #rstats #knitr #texlatex #overleaf  [&#8618;](https://twitter.com/rmarkdown/status/1584160311636299777)

<!-- -->


> **Danielle Navarro** (@djnavarro; 9/1): @flowuenne There are big advantages when working across languages (e.g. my blog switches the engine from knitr to jupyter on some pages), &amp; there some little tweaks that make life easier (css for alert boxes, redirecting output to page margins etc), but it’s mostly the multi-language for me  [&#8618;](https://twitter.com/djnavarro/status/1584687809604235264)

<!-- -->


> **Susan VanderPlas** (@srvanderplas; 7/2): How many academic innovations are borne of trauma? Listening to Jacob Bien talk about litr, thinking about the origin story of knitr (@xieyihui), ... it seems like there are a lot of literate-programming R packages that are attempts to avoid repeating past trauma. #rstats  [&#8618;](https://twitter.com/srvanderplas/status/1585737176066596864)

<!-- -->


> **Fadel Megahed** (@FadelMegahed; 4/0): @JeffRouder #tidypolars allow you to use dplyr/lubridate functions and #plotnine is a port of ggplot2. If you like the tidyverse, maybe you will like this approach. Additionally if you teach Rmarkdown, the lift to quarto is not much and you can use Knitr engine back Jupyter engines for 1 IDE  [&#8618;](https://twitter.com/FadelMegahed/status/1585789132122427392)

<!-- -->


> **PostData** (@datalabx; 2/2): "“What program do you use to make posters?” is a question people wish they hadn’t asked me, as soon as I start describing it."
> >
> Separar contenido de presentación #rstats #quarto #markdown #knitr #pandoc #yaml @LuaLang  #xelatex
> >
> https://t.co/Epvm7suFZE
> https://t.co/1YHk0cy3tx  [&#8618;](https://twitter.com/datalabx/status/1584496611589136385)

<!-- -->


> **百年に一度** (@boyaki001; 2/0): Yihui氏のプレゼン。knitrってRやPythonどころかbashとかawkとかスクリプト言語なら(？)なんでも実行できるんだな。RStudioが名称変更するのもこれなら納得。 https://t.co/ytauoZJOyo  [&#8618;](https://twitter.com/boyaki001/status/1584870737571348480)

<!-- -->


> **えいつぴ** (@eitsupi; 2/0): knitrにprqlエンジン追加できると面白いかもしれませんねこれ。どうやったら実装できるのか皆目見当も付きませんが……。  [&#8618;](https://twitter.com/eitsupi/status/1584217805548724224)

<!-- -->


> **#rstatsvideo 🤖** (@rstatsvideo; 1/2): 📺 New #rstatsvideo: Yihui Xie | Highlights of the knitr package from the past two years | RStudio (2022)
> ▶ RStudio (@rstudio)
> 🗣 🇬🇧
> #rstats
> 🔗 https://t.co/qinZ3I7lgu  [&#8618;](https://twitter.com/rstatsvideo/status/1584832727098032128)

<!-- -->


> **uncorrelated** (@uncorrelated; 1/0): htmlでプレゼン資料を生成できるわけだが、列名や表示桁数などのテーブル表示の調整が良く分からない。knitr::kableやDT::datatableでそれっぽいのは出るのだが、やはりcss、さらにはhtmlを書かないといけなくなる。そのための命令も用意されているわけだけれども。  [&#8618;](https://twitter.com/uncorrelated/status/1586457973647609856)

<!-- -->


> **Jason N. Doctor** (@jasndoc; 1/0): @hawesmt I usually do just fine with big tables using knitr kable, you just have to extract the correlations. Save the object for summary(output) and then extract elements from it for the cells.  [&#8618;](https://twitter.com/jasndoc/status/1586037972092100608)

<!-- -->


> **Mickaël CANOUIL** (@MickaelCanouil; 1/0): @zakvarty To note, technically \`\`\`{latex} is not valid, because "latex" is not a recognised language in {knitr}  [&#8618;](https://twitter.com/MickaelCanouil/status/1585962915558875136)

<!-- -->


> **Mickaël CANOUIL** (@MickaelCanouil; 1/0): @zakvarty There is also the \`\`\`{.language} form which does the same as \`\`\`language or:
> \`\`\`{language}
> #| eval: false
> >
> The last requires `knitr` as the engine.
> https://t.co/VwJFxQ2L28  [&#8618;](https://twitter.com/MickaelCanouil/status/1585961482600300544)

<!-- -->


> **Colin Gillespie** (@csgillespie; 1/0): @nrennie35 @PipingHotData I remember getting something similar with {knitr} chunks  [&#8618;](https://twitter.com/csgillespie/status/1585211098935934976)

<!-- -->


# pagedown

> **Raymond Yee** (@rdhyee; 3/1): Anyone at #pagebreak who has started with markdown à la https://t.co/kJDvro8HAf to generate pdf books?  [&#8618;](https://twitter.com/rdhyee/status/1585680022118883329)

<!-- -->


# tinytex

> **Exploratory Data Alex** (@alexkyllo; 1/0): @camjpatrick @charliejhadley @bmwiernik To me, R is the only language that enables achieving tasks like installing things from within the language (I'm not even sure how to install packages from the command line w/o Rscript). Another example would be {tinytex}, which installs a LaTeX distribution on your system from R.  [&#8618;](https://twitter.com/alexkyllo/status/1585758435718885377)

<!-- -->


> **Arlie Coles** (@ArlieColes; 1/0): @incymbalis That's still probably the safest way in the long run, but fwiw, for several years I've had success with TinyTex, which installs only a very few packages, and you can install more when TeX complains at you when one is missing pretty easily. Good for when space is tight!  [&#8618;](https://twitter.com/ArlieColes/status/1584889956014882818)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): R Sweave (tinytex) error message: Failed to find a package that contains 'ae.sty' #tidyverse #rstats https://t.co/9MIcXMUVRg  [&#8618;](https://twitter.com/tidyversetweets/status/1585682807799644160)

<!-- -->


> **tidyverse tweets** (@tidyversetweets; 0/1): latex works for cph, generates .tex but does not work for anova tinytex or anova problem #tidyverse #rstats https://t.co/PGkaEofFQm  [&#8618;](https://twitter.com/tidyversetweets/status/1584823667418025985)

<!-- -->


# xaringan

> **Soichi Matsuura (滅私奉公)** (@matsuura_rits; 12/0): ゼミで笠原・村宮「実証会計・ファイナンス」の第5章まで輪読が終わった。テキストを読んでまとめて報告するだけじゃなく，サンプルデータを使ってコードを写経し，本と同じ結果をスライドに載せている学生が多く素晴らしい。xaringanでスライド作成している学生もいて，順調に沼に引き込めている。  [&#8618;](https://twitter.com/matsuura_rits/status/1584569413617209344)

<!-- -->


> **Beatriz Milz** (@BeaMilz; 5/1): @tim_mendonca @quarto_pub @Insper @jtrecenti @natydemi @angcustodio @HedibertL Fico feliz em saber que os materiais sobre xaringan foram úteis (eu lembro que você comentou isso no satRday em 2019 e foi uma surpresa pra mim! haha).
> Na @LatinR_Conf eu apresentei sobre apresentações com Quarto! o material está aqui:
> https://t.co/u2yM8jDpjm  [&#8618;](https://twitter.com/BeaMilz/status/1585316463447265280)

<!-- -->


> **Tiago Mendonça** (@tim_mendonca; 2/0): @BeaMilz @quarto_pub @Insper @jtrecenti @natydemi @angcustodio @HedibertL Muito bom, @BeaMilz e @jtrecenti!!! @BeaMilz , depois de conhecer mais sobre xaringan com seus materiais, agora vou aprender um pouco de quarto com eles.  [&#8618;](https://twitter.com/tim_mendonca/status/1585260233361801218)

<!-- -->


> **jomztar** (@jomztar; 2/0): @KhoaVuUmn R xaringan &gt; Beamer  [&#8618;](https://twitter.com/jomztar/status/1585141326244327425)

<!-- -->


# yihui.name

> **niszet** (@niszet0; 4/1): chunk optionの"#|"の書き方、こちらにも書かれてますね #TokyoR
> >
> https://t.co/8dPkwuUENh  [&#8618;](https://twitter.com/niszet0/status/1583702369275383809)

<!-- -->


> **Charlotte** (@charliejhadley; 3/0): @alexkyllo @bmwiernik Yihui has opinions https://t.co/JW22oEb7GL  [&#8618;](https://twitter.com/charliejhadley/status/1585723451398291456)

<!-- -->


> **das Kino** (@kyn02666; 2/0): Rスクリプト中のmagrittrパイプ（%&gt;%）を一括でネイティブパイプ（|&gt;）に置換するためのformatR::tidy_pipe()関数があるのね（replaceすればいいのでは、という気もするけど）
> >
> https://t.co/tgIarFCD6H  [&#8618;](https://twitter.com/kyn02666/status/1585079023406702593)

<!-- -->


