I'm curious about the most tweeted about #rstats packages in the past ~week, let's explore this using R! 🧵 I'm going to use these packages: *️⃣ tidyverse *️⃣ rtweet *️⃣ rvest *️⃣ tidytext you can install them with: install.packages(c("tidyverse", "rtweet", "rvest", "tidytext"))
1
22
8
111
First, let's get a vector of all #rstats packages on CRAN! library(rvest) r_pkgs <- read_html('cloud.r-project.org/web/pack…') %>%   html_nodes('td:nth-child(1)') %>%   html_text()
2
2
5
Replying to @WomenInStat
Easier: r_pkgs <- rownames(available.packages())

Oct 13, 2021 · 6:06 PM UTC

1
2