R is a leading language in the data science domain. In the following article, a summary of selected trends, activities, and insights around the R language from July 2018 are presented. Data for the trends and activities summarized here were obtained from popular websites used by the R community such as Google, GitHub, StackOverflow, Rstudio, METACRAN, and R-Bloggers
Number of StackOverflow Questions tagged R: 4,929 (1.09% decrease from June)
Number of Answers for R questions: 4,497 (1.09% decrease from June)
Number of Comments for R questions: 9,589 (1.11% decrease from June)
Page Views for R questions: 161,300 (1.10% decrease from June)
The pie chart below in Figure 1 shows the distribution of the questions, answers, and comments for R at StackOverflow
The data for this section is obtained through the API of the METACRAN’s (https://r-pkg.org/services#cranlogs) service that could be found here: https://github.com/metacran/cranlogs.app
METACRAN obtains the download summaries from the RStudio (https://www.rstudio.com/) CRAN (https://cran.r-project.org/) mirror taken from http://cran-logs.rstudio.com/. This is a very popular download mirror for the R language due to the popularity of the RStudio IDE for R.
Base R downloads: 56,238 (1.06% increase from June)
The chart in Figure 2 shows the distribution of base R downloads among the computer operating systems from which R was downloaded.
The chart in Figure 3 shows the number of downloads by R versions. From the chart, it is clear that there are users of R that still make use of older R versions e.g. version 2.x.x series.R Packages Downloads: 42,285,633 (1.06% decrease from June)
Figure 4 is a chart that shows the daily download variation of R packages in July.
The ratio of Base R downloads to R Package downloads: 1 : 752
Thus, for each download of base R, there are over 752 extension packages downloaded. The use of R still depends largely on extension packages.
Figure 5 is a chart visualizing the ratio of Base R downloads to R packages downloads.
Sum of downloads for Top 50 packages: 15,301,517 (1.11% decrease from June)
Below is a chart in Figure 7 showing the top 50 downloaded packages based on their download counts.
Sum of Downloads for Top 100 packages: 23,006,206
- Rcpp—Dirk Eddelbuettel
- stringi—Marek Gagolewski
- ggplot2—Hadley Wickham
- rlang—Lionel Henry
- stringr—Hadley Wickham
- glue—Jim Hester
- dplyr—Hadley Wickham
- pillar—Kirill Müller
- digest—Dirk Eddelbuettel
- tibble—Kirill Müller
Hadley Wickham, Dirk Eddelbuetel, and Kirill Müller dominate the top 10 by both number of packages and downloads from the list above.
The Top 10 R repositories that appeared on GitHub’s trends in July are:
- gganimate (https://github.com/thomasp85/gganimate) by Thomas Lin Pedersen
- ggplot2 (https://github.com/tidyverse/ggplot2) by Hadley Wickham
- shiny (https://github.com/rstudio/shiny) by Winston Chang
- datapasta (https://github.com/MilesMcBain/datapasta) by Miles McBain
- dplyr (https://github.com/tidyverse/dplyr) by Hadley Wickham
- infer (https://github.com/tidymodels/infer) by Andrew Bray
- drake (https://github.com/ropensci/drake) by William Michael Landau
- polite (https://github.com/dmi3kno/polite) by Dmytro Perepolkin
- rmarkdown (https://github.com/rstudio/rmarkdown) by JJ Allaire
- dataviz (https://github.com/clauswilke/dataviz) by Claus Wilke
The chart of Figure 9 shows the top 10 projects that did trend in July based on data from August 1, 2018,
The Rstudio Community website provides a weekly list of R user-group meetings and conference events curated from meetup.com and elsewhere. The data found on this website is the basis for the following analysis.
There were 76 events in about 23 countries (1.2% decrease in events from June)
39 events out of 76 (51% of events) were held in the United States of America
Country-Number of events
- Australia: 2
- Canada: 1
- Côte d’Ivoire: 1
- Ecuador: 1
- Ethiopia: 1
- France: 1
- Georgia: 1
- Germany: 6
- Hong Kong: 1
- India: 1
- Italy: 1
- Morocco: 1
- Netherlands: 1
- New Zealand: 2
- Nigeria: 3
- Philippines: 1
- Poland: 1
- South Africa: 1
- Switzerland: 4
- Taiwan: 2
- United Kingdom: 3
- United States: 39
A world map showing the distribution of R events across 23 countries can be found in Figure 10a
Figure 10b shows the event distribution across the 23 countries in a pie (area) chart.
A weekly summary of events compared with countries for the month is shown in the bar chart of Figure 11.
R-Ladies have a strong grip of the share of events in the R community. 34 events out of 76 (45% of events) were R-Ladies events
This July, the useR! conference – the largest annual conference for the R community – was held in Brisbane, Australia. The full list of YouTube Videos for presentations during this conference has been generously provided by the R Consortium here: https://www.youtube.com/channel/UC_R5smHVXRYGhZYDJsnXTwg/videos
The most viewed useR! 2018 talks on this channel by August 7, 2018 are:
- Teaching R to New Users: From tapply to Tidyverse. 2.4k views (https://www.youtube.com/watch?v=5033jBHFiHE)
- Code Feels and Smells. 1.9k views (https://www.youtube.com/watch?v=7oyiPBjLAWY)
- What is R? 1.5k views (https://www.youtube.com/watch?v=XcBLEVknqvY)
- The Grammar of Animation. 1.4k views (https://www.youtube.com/watch?v=21ZWDrTukEs)
- Recipes of Data Processing .1.1k views (https://www.youtube.com/watch?v=JacpQdj1Vfc)
- R Bloggers
Rbloggers.com is the most popular news aggregation website for blog posts related to the R language. There were about 258 blog posts at Rbloggers.com in July. An average of about 8 posts/day (1.11% increase from June).
- Google Trends
The chart below shows Google Trends for the R language in July with search trends dipping only during the weekends.
Based on Interest by region, the top 5 countries in July with the highest search activity on Google are:
- South Korea
- St. Helena
- Language Ranking:
- TIOBE Index (https://www.tiobe.com/tiobe-index/): 14th in July 2018
- Redmonk (https://redmonk.com/sogrady/2018/03/07/language-rankings-1-18/): 12th in January 2018
- IEEE (https://spectrum.ieee.org/static/interactive-the-top-programming-languages-2018): 6th in July 2018
- PyPL (http://pypl.github.io/PYPL.html): 7th in July 2018
- R Consortium
The impact of R Consortium’s user-base expansion program through the R User Group Support (RUGS) program and R-Ladies project can be seen from the number of events in July.
45% of R user-group events in July were R-Ladies events. Nigeria ranked 4th based on the number of user-group events in July, with only the Kano R User Group, an R Consortium funded group meeting three times in July.
- Google Summer of Code
The second phase of evaluations for the Google Summer of Code program for participating students and mentors took place in July. There are 27 funded projects in this program this year. See the full list of R-Google Summer of Code projects 2008 – date here: http://r-central.com/gsoc.