#rstats
Tyler Morgan-Wall (@tylermorganwall; 1055/283): 1/5 THE LONG WAIT IS OVER! I’m happy to announce the release of rayshader with 3D ggplots. Pull up your favorite ggplot viz and throw it into the new plot_gg() function, and watch rayshader transform it into 3D. #rstats #rayshader #dataviz
Blog post:
https://t.co/acRROGgtRS https://t.co/tJrh04crE2 ↪
Mara Averick (@dataandme; 290/78): ICYMI, 😎 Lotta great resources in here…
👨🔬 “Tidy Data Science” by @wjakethompson
https://t.co/RDwqW3hdMO #rstats #tidyverse https://t.co/VjR9Y5xm0J ↪
Kirk Borne (@KirkDBorne; 247/138): One of my all-time favorites >> The Most Complete List of the Best Cheat Sheets for #DataScientists covering #AI #NeuralNetworks #MachineLearning #DeepLearning #BigData #DataScience #DataViz #Python #Rstats #Coding etc.
———
👇👇
https://t.co/r8WpZ0NDgS https://t.co/4KHsBUahRX ↪
Mara Averick (@dataandme; 240/62): ⚡️ Reading in lots of data? Speed things up w/ bash ⇨ #rdatatable…
⏱ “How data.table’s fread() can save you a lot of time and memory, and take input from shell commands” by @jozefhajnala
https://t.co/C2LbjQDR8D #rstats https://t.co/zxlkSLFMMd ↪
Danielle Navarro (@djnavarro; 216/43): A question for my lovely #rstats people… what packages do you find most useful to assist with annotation, labelling and minor tidying in ggplot2? I’ve got cowplot, ggrepel and directlabels so far, but wondering what other people use 🙂🤔 ↪
Jenny Bryan (@JennyBryan; 206/70): Hey @TheDemocrats are hiring a data scientist. They’re looking for some combo of #rstats, #python, & SQL. I personally pledge to help achieve any unholy Excel-to-R hacks that are conceivably useful to this effort. Apply now!
https://t.co/BqZqD9hO2K ↪
Nihilist Data Scientist (@nihilist_ds; 202/40): Don’t be afraid of negative results.
No one cares about your research either way, so it doesn’t really matter.
#statistics #DataScience #rstats #pydata ↪
Jakub Nowosad (@jakub_nowosad; 170/62): How to describe spatial patterns?📰 We wrote a paper showing the Information Theory framework to quantify spatial patterns - https://t.co/TRYXtMSzNQ. There is also an accompanying blog post with #rstats code at https://t.co/3JCq38b33I. #rspatial #geocompr #landscapeecology https://t.co/3fWkVu2fzD ↪
Mara Averick (@dataandme; 167/43): 🗽 Miss @rstatsnyc this year? Videos are up!
📺 “New York R Conference: 2019”
https://t.co/No8KxLM4i1 #rstats https://t.co/k0IFjIJzzA ↪
Maya Gans (@Mayacelium; 159/41): @rstudio @thomas_mock I don’t think I’d be considered an #rstats novice, but still got a lot of 🤯 out of @tomas_mock’s awesome talk! [Plus now I feel like I can finally describe WTF mutate does 💪] #CaRStudio https://t.co/Fc5fPEs2OV ↪
Paula Moraga (@PaulaMoraga; 152/53): NEW CHAPTER of book 📕 “Geospatial Health Data: Modeling and Visualization with R-INLA and Shiny”
🗺️Spatial modeling of malaria 🦟 in The Gambia
👉 https://t.co/34LWczGNN7
💻 #rstats 🌍 #geospatial 👩🏫 #geostatistics 🦟#endmalaria https://t.co/xEb6n6SF6H ↪
R-bloggers (@Rbloggers; 146/60): Causation doesn’t imply Correlation either {https://t.co/5LkFnuoqqy} #rstats #DataScience ↪
blogdown
Mara Averick (@dataandme; 86/20): 💔 Blogdown build acting up? @apreshill’s got you covered…
🥄 “A Spoonful of Hugo: Troubleshooting Your Build”
https://t.co/jfzbsSZmdy #rmarkdown #hugo https://t.co/2RtgKZSwtd ↪
Netlify (@Netlify; 16/1): This is a wonderful thread on creating a site to showcase academic publications using the blogdown package in RStats and deploying to Netlify! https://t.co/NXClGnUTkA ↪
Jamie Hudson (@Jamie_Bio; 14/0): Finally attempted to make myself a basic website using blogdown on #Rstats with the help of @dsquintana’s fab tutorial. Lots of polishing but it’s a start! https://t.co/bQaXxImL9j https://t.co/n78Sl1xExT ↪
Ron Yurko (@Stat_Ron; 10/1): Did the natural thing when sidelined and updated my #blogdown website and CV, need to bring the #bayesianbabysteps back https://t.co/Y23ofpcMuR ↪
Pol Castellano (@polcastellano_; 9/1): Today at 13:30h @martabofillr and I will give a seminar at @GRBIO_BCN students’ seminars (Edifici C5 del Campus Nord, UPC)!
👩🏻💻Joining up the dots: From 1986 to 2020.
👨🏼💻Blogdown: Make your own website easily with R! https://t.co/ugcS6tf2Zi ↪
Elizabeth Herdter Smith (@liz_herdter; 6/2): A while ago I wrote a #blogdown post how I learned to use #rstats dplyr() w/in a function to make dynamic factor interaction plots in #ggplot. The post is a work in progress but at the very least I provide links to great help pages! https://t.co/j4Q4pKf8xw ↪
R-Ladies RTP (@RLadiesRTP; 5/1): R-Ladies RTP member @joyceisms is leading a meetup on blogdown next week at @NCState! Come learn about making websites in R. ✨🕸💜 More info at: https://t.co/nuHvPk2ndM ↪
R-Ladies Tampa (@RLadiesTampa; 3/1): Hey! Meet with us on July 13th for Fun with Blogdown! https://t.co/tTV2ZcRXqv #Meetup #Tampa via @Meetup ↪
Gavin Masterson (@gavinprm; 3/0): @SalamanderJenn I’m planning to use Netlify. There are examples of Netlify-deployed websites on Github. From what I understand, if you use the R approach via the blogdown pkg, you serve_site(), build the content and then copy the “public” folder to Netlify and it deploys. ↪
Andrey Chetverikov (@ralfer; 3/0): @AgVelasque @dsquintana I used Wordpress and switched to Hugo (that is behind the blogdown in this tutorial). The advantage of the latter is that it’s low maintenance. Once you’ve made the site, it’s gonna stay that way. With Wordpress you need to update (because security), and that can break things. ↪
Ariel Muldoon (@aosmith16; 2/1): Oh, man, this was exactly what I needed today for moving my TOC away from the top of a #blogdown post. Thanks so much @grrrck!
https://t.co/2k3VLWN3Y8 ↪
Dr Jenny Richmond (@JenRichmondPhD; 2/0): Why is dealing with git via Windows so difficult? Getting students set up with blogdown is really easy and then we stumble into the vortex that is making RStudio talk to git on a windows machine and ….. any good tut suggestions @rstats? https://t.co/BvJ74LMV64 ↪
Lorne Campbell (@LorneJCampbell; 2/0): @RelationScience .@hansijzerman ’s lab page is really nice https://t.co/x2DDdORkH1. And this is at the bottom of the page “Source (blogdown) files for this page and instructions for use are available on GitHub” ↪
Ettore Rizza (@Ettore_Rizza; 2/0): @lespetitescases @spouyllau @seeksanusername @27point7 Jekyll et Hugo sont pas mal. Pour un blog scientifique qui inclurait du code R ou Python, cela vaut la peine de jeter un oeil à ce bouquin : https://t.co/ufUcJrTZmP ↪
David John Baker, PhD (@DavidJohnBaker; 2/0): @elizamonzi Hmmm. A how-to-blogdown post might have to be down the road (there are a lot now that cover this I can send you) but I will think about blogging about the meta stuff… thanks on the readability… I work towards that ↪
JD Long (@CMastication; 2/0): @chendaniely Just serving super plain html with the kid. On my personal stuff, it varies. I do my blog on netlify w blogdown. ↪
Albert Henry (@AH_AlbertHenry; 2/0): If you are interested to make your own website, there are already some excellent tutorials out there, personally I find these two are the most helpful: https://t.co/tdPObbNZVN by @dsquintana, and https://t.co/YJmq27OBtr by @apreshill ↪
Solomon Kurz (@SolomonKurz; 2/0): @DrDanPsych @drkchap @AutismOCDDoc @reginegalanti @DrMaryAlvord @AliMattu #blogdown with R. It’s free and powerful ↪
Mara Averick (@dataandme; 2/0): @gabrielacaesar @Elijah_Meeks @sarah_edo @seaotta Thanks to @xieyihui, I think a pretty high proportion of the R-blogging community uses Netlify! 🥰 (https://t.co/FUwBlWDH7E included)
https://t.co/F5eEGLG0kK ↪
atusy (@Atsushi776; 1/2): @timtrice FYI, line numbers in bookdown and blogdown requires YAML like
output:
blogdown::html_page:
clean_highlight_tags: FALSE
highlight: pygments # or any but must be specifiedI recommend editing CSS depending on hugo themes (see img)
Link to PR: https://t.co/jpldbUZlA1 https://t.co/LjOGYikHzx ↪
Yohan J. Rodríguez (@hasdid; 1/1): #R #Automated | Trying out blogdown https://t.co/62bIVHLnXC ↪
Yohan J. Rodríguez (@hasdid; 1/1): #R #Automated | Summer of blogdown: a 4-day workshop series on the blogdown R package, from the folks at RStudio Education https://t.co/0GUd9lVUkB ↪
Kim Fitter (@Kim_Fitter; 1/0): @JenRichmondPhD @rstats I tried a few and now use GitKraken for blogdown ↪
Lauryn Burleigh (@L_Burleigh; 1/0): @DavidJohnBaker @elizamonzi Help me blogdown! I’ve decided to move my site from WordPress to gihub/blogdown. Its a bitch to sift through and figure out what im doing. Lol ↪
levene bartlett (@levene_bartlett; 1/0): @dsquintana dan I try blogdown but it s give excution error why? ↪
MH Manuel Haqiqatkhah (@_psyguy; 1/0): Trying to get blogdown-produced Hugo Academia on GitHub Pages and it’s uglier than my life :( ↪
Beatriz Milz (@BeaMilz; 1/0): @cndesantana eu acho que o código é mais limpo e fácil.. e também tem os pacotes que facilitam a vida com rmd… o xaringan, pagedown, blogdown, bookdown… ↪
Alison Hill (@apreshill; 1/0): @RyanStraight Yea, I felt like I needed to up my blogdown game after seeing the @rstudio interns’ sites. Plus the academic theme has some new bells and whistles that I couldn’t resist! Fixed now, and thanks: https://t.co/UIo2K4aHLl ↪
Dani Crain (@DCrainium; 1/0): @brainiacJulie @AcademicChatter Are you familiar with R? You may like R blogdown. @dsquintana has some great live tutorials :) ↪
Athanasia Mowinckel (@DrMowinckels; 1/0): @dsquintana Depends on usage. I love blogdown for academic website and blog. But use wordpress for other things (like wedding page). I think it depends on what you want to do, and what platform your comfy with ↪
bookdown
Max Kuhn (@topepos; 815/252): All of the analysis R code for our Feature Engineering and Selection book is now on GitHub at https://t.co/f8shfphAEg
The book can be found at https://t.co/8Zwzqs4LcW
#rstats #DataScience #statistcs #machinelearning https://t.co/wUkzXl0cOO ↪
Dr Péter Sólymos (@psolymos; 15/10): Point count data analysis workshop at #aos19ak in #anchorage #alaska - How to violate assumptions and get away with it? Full course material in #bookdown format here: https://t.co/GI9D3Hs9wu interactive #shiny #rstats apps with the bSims package https://t.co/iz3af903Qv https://t.co/3S9rZApzgT ↪
Brian O’Meara (@omearabrian; 13/6): Some of my relevant teaching stuff for @iEvoBio discussion
https://t.co/mwabUydJ0X
https://t.co/HU9Ga7eXAl
https://t.co/iu2W5ITrWF
https://t.co/AzcrTmellA
https://t.co/SiF2HNrg71 [developed mostly by @jwiggi21] ↪
Nathaniel Haines (@Nate__Haines; 11/1): @SolomonKurz If you are looking for a very basic introduction, this is a good resource: https://t.co/WSow5vpX76 ↪
Nicki 🏳️🌈Bramford 🇪🇺 (@Nickibramford; 6/1): Procrastinating this eve on twitter! Books down & rehearsal tomorrow eve & still haven’t nailed my lines 😱 why won’t they go in..? Ideas welcome on best way to memorise. tried audio, writing them out, repetition, repetition, repetition #linelearning #bookdown #retain #help 🙏 https://t.co/NcDCIBjAgZ ↪
Wei Yang Tham🔎 (@wytham88; 6/1): Q for #rstats peeps who’ve written a dissertation with R Markdown or bookdown: if you have chapters in .Rmd that exist in separate RStudio Projects, is there a way to pull them together in bookdown? Or do you have to copy and paste them into the same directory? ↪
Mine Dogucu (@MineDogucu; 6/0): Potential slogan for #bookdown https://t.co/YvwkQJWyWh ↪
Masafumi Okada (@mokjpn; 5/0): OMOPの集まりに参加。基本的にツールとスクリプトの再利用を目的とした標準なので、RとかRstudioの名前が飛び交う。公式入門書はBookdownで書かれているし。 ↪
Dr Péter Sólymos (@psolymos; 4/2): ‘Analysis of point-count data in the presence of variable survey methodologies and detection error’ workshop at #aos19ak in #anchorage #alaska is about to start, reviewing the QPAD method in the morning, full course material in #bookdown format here: https://t.co/nJJXxSmrmi https://t.co/nLq0AjGgGF ↪
Sean Davis (@seandavis12; 3/1): When using rmarkdown, included graphics end up as data urls (so embedded in the HTML). When using bookdown::gitbook(), it appears that graphics end up as simple urls. Is there a way to get the rmarkdown behavior with bookdown::gitbook()?
#rstats @rstudio @xieyihui ↪
Alison Hill (@apreshill; 3/0): @EvaMaeRey It is pretty finicky- looks like you may not have an empty line above? Tough to tell from screenshots without seeing code
“It must be in a separate paragraph with empty lines above and below it. ”
- from the bookdown book ↪
Colin Madland (@colinmadland; 2/1): @RyanStraight @JohnStewartPhD @KavuBob @hibbittsdesign I’ll be looking into bookdown. Currently using pandoc to convert from md. ↪
Mike Mahoney (@MikeMahoney218; 2/1): Published a new draft of “INTRODUCTION TO DATA EXPLORATION AND ANALYSIS WITH R” - I think this draft better incorporates the data analysis cycle framework into its structure. Feedback always appreciated! https://t.co/SpErk6POUl ↪
🄼🄰🅃🅃 🄷🄸🄻🄻 (@InsectEcology; 2/0): @ozjimbob yeah, can use git to sync with a local copy and open it up in your editor of choice. but overleaf itself is a pretty handy web-based latex environment - with tools for collab. I’ve started using that, and bookdown in R for a nice blend of markdown and latex. ↪
Caleb Moses (@Caleb_Speak; 2/0): @XemMd @f2harrell @statsepi @jd_wilko @dailyzad This is the page of notes I usually refer to: https://t.co/HwDWDRZDmp
But yes, the trick is to use brms to create ordered categories. The trick is quite cunning, but it works well in practice! ↪
Dr. Ryan “It’s Summer Break” Straight (@RyanStraight; 2/0): @JohnStewartPhD @colinmadland @KavuBob @hibbittsdesign Not to mention Bookdown can a) automatically produce PDF and ePub versions of Gitbooks, but b) you can easily swap different styles (like Tufte or a memoir). ↪
John Stewart (@JohnStewartPhD; 2/0): @colinmadland @RyanStraight @KavuBob @hibbittsdesign Yeah that looks good. Ryan, how much R is involved in bookdown. I like the idea of something that’s as close to pure md as possible because that minimizes learning curve for others. ↪
Jonah Duckles (@jduckles; 2/0): @KatheMathBio I tend to poke around R package repos with Travis config files to learn more. The deploy hook is super handy for bookdown repos. You can use it to deploy the html to S3 for example. @hadleywickham’s book repos have this setup I believe. ↪
espinielli (@espinielli; 2/0): @EvaMaeRey Does the example in https://t.co/Thb1M5SjBl work?
Are you using the correct ‘output:’ in your yaml?
HTH ↪
Yohan J. Rodríguez (@hasdid; 1/1): #R #Automated | Feature Engineering and Selection: A Practical Approach for Predictive Models https://t.co/fFXNhA1u6U ↪
atusy (@Atsushi776; 1/1): @niszet0 あった。
If you have options that need to be the result of an evaluated R expression, you can use !expr, which tells the yaml package that it needs to parse and evaluate that option. Below is an example that uses a random theme for the HTML output:
https://t.co/jlmzCvFP3Q ↪
Ariel Muldoon (@aosmith16; 1/1): I love that I can use Ctrl + Alt + I to split an existing chunk in two as well as insert new chunks. It’s working great for converting a draft blog post into an actual blog post! #rmarkdown #rstats
(See example in section 3.2.1.2 of the R Markdown book: https://t.co/iBrQQGW7Wh) ↪
John Stewart (@JohnStewartPhD; 1/0): @colinmadland @RyanStraight @KavuBob @hibbittsdesign Aesthetically, I like bookdown best of the options I’ve looked at. But I think the md Grav workflow Colin is using might be lowest bar for forking. ↪
John Stewart (@JohnStewartPhD; 1/0): @RyanStraight @colinmadland @KavuBob @hibbittsdesign I’d like to move https://t.co/g6qKtZxVhj into a more forkable format than its current WP w/plugins build. Will play with grav and bookdown as options. Hax also. ↪
John Stewart (@JohnStewartPhD; 1/0): @RyanStraight @colinmadland @KavuBob @hibbittsdesign Literally was just looking at one of your bookdown sites for the code camp and wondering the same thing. ↪
Yihui Xie (@xieyihui; 1/0): @j0h0w
self_contained: true
has been the biggest drawback of xaringan: https://t.co/K3aDybrSjI I’ll try to imporve it in future: https://t.co/iCTdqQW91D For now, perhaps exporting to PDF via pagedown::chrome_print() helps a bit if you want a single file: https://t.co/59rE42DTfB ↪
knitr
Nicholas Tierney (@nj_tierney; 23/1): After a nice suggestion from @grrrck re @xieyihui ’s way to generate verbatim code chunks (https://t.co/P8QE2YPVfY) I thought, how cool would it be to type
verbatim = TRUE
instead?If folks want to chime in, here is an rstudio community post:
https://t.co/gViCXeuSxH#rstats ↪
Tim Trice (@timtrice; 5/5): So, @Atsushi776 made line numbering in rmarkdown quite impressive. Can’t overstate how much I love this! Check out the PR with examples: https://t.co/ONZMUNl9AI #rstats https://t.co/Zw4b3SKPFU ↪
Dr. Ryan “It’s Summer Break” Straight (@RyanStraight; 3/1): @colinmadland @JohnStewartPhD @KavuBob @hibbittsdesign RStudio uses Pandoc to convert from Rmd to md to HTML/PDF/whatever, using the Knitr package. Super quick and efficient, especially with large documents. No command line stuff, just hitting the Knit button. :) Hooray for YAML/TOML! ↪
Heidi Seibold (@HeidiBaya; 3/0): @annakrystalli @SoftwareSaved It’s written with knitr, uses a seed, is part of the R package it describes, was openly written using version control (SVN, R-Forge) and is available in an open access journal (@up_jors).
So I guess, yes. ↪
Tinashe M. Tapera (@TaperaTinashe; 3/0): Alternately, I always start off with an .Rmd to encourage literate programming and force myself to follow narrow, achievable goals, even if it’s a small handful of operations. I then use knitr::purl() to strip all of the markdown and generate an executable R script. https://t.co/EEIztL34Jo ↪
Thomas Mock 👨🏼💻 (@thomas_mock; 2/1): @a_neisse @GueyeNono @rstudio You can use a method like read_chunk() readLines() or source() to reference an external R script as a RMarkdown chunk.
This external script could be executed as a local job and read back into global environment.
https://t.co/L9ZfHZIZUs ↪
ken (@KqMl29uRtgJvJAG; 2/0): Rstudioで出力した値とknitrでhtmlで出力した値が違うんだけど
#Rstudio #R ↪
pagedown
boB 🇷udis (@hrbrmstr; 5/1): @8bitscollider Since google is apparently busted: https://t.co/NniVRALMX1 ↪
xaringan
Emma Rand (@er13_r; 4/1): @LittleMissData @kierisi I’m giving a “An Introduction to Reproducible
Analyses in R” workshop and given much previous material to work with this should be quick. But no, I decided to use xaringan for the first time. Cue days of playing with every option, learning remark.js ↪
Martin John Hadley (they/them) (@martinjhnhadley; 3/0): My worst {xaringan} habit is changing the slide heading from # to ### to make content fit on the slide.
Like if this is acceptable.
Reply if it defeats the point of {xaringan} ↪
Alison Hill (@apreshill; 2/1): @EvaMaeRey @benmarwick @espinielli I don’t think similar capabilities exist (I believe the functionality builds on inherent pandoc functions, which xaringan does not call). For xaringan, I do use template slides a lot to reduce repetition: https://t.co/26QgaZqWol ↪
Stas Kolenikov (@StatStas; 2/1): Quick #rstats question: can I stick
runtime: shiny
into a browser presentation – ioslides, revealjs, xaringan, shower? ↪
Mara Averick (@dataandme; 2/0): @wjakethompson @koli_ajaykumar reprex venue = “RTF” is really handy for syntax highlighting in keynote — but, if I’m doing a lot of coding, I’ll go with xaringan (I’m usually in keynote, too)
https://t.co/7T2IsHOW6K ↪
Jake Thompson (@wjakethompson; 2/0): @dataandme @koli_ajaykumar I made the slides in Keynote, and just copy and pasted code and results in. Not very efficient, but got the job done! xaringan is forever on my list of packages to figure out to make this process easier! ↪
Gina Reynolds (@EvaMaeRey; 2/0): Thank you all @apreshill @benmarwick @espinielli It’s the ymal indeed and now it is working! I’m wondering too, if there is a way to use this behavior with #xaringan. I want to use markdown syntax in fig captions in xaringan too. Seems like (ref:foo) doesn’t work. Another way? ↪
Fernando A Barbalho (@barbalhofernand; 2/0): @BeaMilz @leofn3 Vou aprender o xaringan o curso que vocês ofereceram no SER ↪
Beatriz Milz (@BeaMilz; 2/0): @leofn3 Sim, e eu acho que os pacotes tornam a experiência tão boa… o xaringan já é a minha forma preferida de criar apresentações ↪
Chris Umphlett (@chrisumphlett; 1/1): After a dominant regular season and playoffs I’m building my fantasy football champion’s address with #rstats #rmarkdown #xaringan. Initial commit builds out the loop so that I can create personalized slides for each team with just one code chunk. https://t.co/eaddoXnNtV ↪
manguari pistolão (@kodaralho; 1/0): @di__licia Só no xaringan ↪
Uchiha Itachi (@guugsmello; 1/0): @_felipelvr essa referencia é fodaaaaaaaaaaaaa kkkkkkkkkkk falai irmão, hoje é dia de ativar o xaringan 🍃 ↪
Julio Spairani (@jspairani; 1/0): @gavg712 @tatobenavidez @rstudio Especialmente https://t.co/DOxELpUgCU ↪