R statistics: use, countries and companion tools
R reached different parts of the Stack Overflow survey sample unevenly. We compute the gaps between respondent groups and countries, and the tools used by the same people. The percentages come from published respondent records and describe this survey sample.
Key findings
- In Stack Overflow's survey samples, the R use share changed from 4.3% in 2024 to 5.0% in 2025, a signed difference of +0.6 percentage points. (Stack Overflow)
- Professional developers reported R use at 3.3% in 2025, compared with people learning to code at 8.8%: a signed gap of -5.5 percentage points. (Stack Overflow)
- Among country samples with at least one hundred answers, Mexico had the highest R share at 10.3% in 2025; Slovakia had 0.0%, a gap of 10.3 percentage points. (Stack Overflow)
- Of R users who also answered the companion-tool question in 2025, 85.6% selected Python, versus 70.1% for SQL: a gap of 15.5 percentage points. (Stack Overflow)
- Professional developers supplied 52.4% of R users in the eligible 2025 sample, compared with 78.2% of eligible respondents, a signed difference of -25.8 percentage points. (Stack Overflow)
- The R share in Mexico's 2025 sample was 5.3 percentage points above the global survey sample's 5.0%; country samples measure respondents, not national workforces. (Stack Overflow)
Use across survey years
Share reporting use · Survey year
The share changed from 4.3% in 2024 to 5.0% in 2025, a signed difference of +0.6 percentage points. The sample sizes were 59,745 and 31,671.
Each year recruited a different sample, so these answer-based differences don't follow individual developers.
Data table
| Survey year | Reporting use | Answered question | Use share |
|---|---|---|---|
| 2024 | 2,595 | 59,745 | 4.3% |
| 2025 | 1,569 | 31,671 | 5.0% |
Use by respondent group
Share reporting use
Professional developers reported 3.3% and people learning to code reported 8.8%. Their signed difference was -5.5 percentage points.
The groups answer the same use question, but their occupation and experience can affect tool selection.
Data table
| Respondent group | Reporting use | Answered question | Use share |
|---|---|---|---|
| Professional developers | 822 | 24,751 | 3.3% |
| Other respondents | 649 | 5,805 | 11.2% |
| Learning to code | 98 | 1,115 | 8.8% |
Country samples with the highest and lowest shares
Share reporting use
- Global survey sample: 5.0
The gap between Mexico and Slovakia was 10.3 percentage points. The chart shows the highest and lowest shares among 52 country samples with at least one hundred eligible responses.
The counts sit beside each share because recruitment and unequal country samples limit comparisons with the wider workforce.
Data table
| Country sample | Reporting use | Answered question | Use share |
|---|---|---|---|
| Mexico | 25 | 243 | 10.3% |
| Kenya | 12 | 121 | 9.9% |
| Nigeria | 13 | 146 | 8.9% |
| Chile | 10 | 113 | 8.8% |
| Romania | 4 | 293 | 1.4% |
| Ukraine | 11 | 833 | 1.3% |
| Israel | 3 | 265 | 1.1% |
| Slovakia | 0 | 137 | 0.0% |
Selected companion tools
Share of eligible users
Python appeared in 85.6% of eligible R users' answers, compared with 70.1% for SQL. The gap was 15.5 percentage points.
Respondents could choose several companions from a selected list, so these percentages don't add to a whole.
Data table
| Companion tool | Also selected tool | Eligible primary-tool users | Companion share |
|---|---|---|---|
| Python | 1,343 | 1,569 | 85.6% |
| SQL | 1,100 | 1,569 | 70.1% |
| JavaScript | 937 | 1,569 | 59.7% |
How we worked out these numbers
- We count a respondent once when their nonempty use answer includes R. Blank and missing answers stay out of the denominator. Multiple selections count as use of each selected tool.
- Respondent groups come from the survey question about coding background. Professional developers and people learning to code are separate answers; all other answers form the remaining group.
- The country section uses the latest included survey, 2025, and keeps only countries with at least one hundred eligible answers. Companion shares include R users who also answer that companion-tool question. All calculations are unweighted.
- The public response CSVs come from Stack Overflow. These adapted aggregates are available under the Open Database License, with individual source cell contents under the Database Contents License. The download and source list preserve the attribution and licence links.
What these numbers do not show
- Stack Overflow recruits mainly through its own channels. Respondents choose whether to take part, so these percentages don't estimate use among all developers, all workers or an entire country.
- A missing answer is excluded, not counted as non-use. Companion use measures an overlap between answers; it can't establish an integration, a required skill or a cause of tool adoption.
- The samples contain different people each year. Question wording, available answer options and recruitment can change; a change in sample share doesn't measure individual switching or growth in the total user population.
- The downloadable snapshot contains 49,191 records, while the published methodology describes 49,009 responses. We use the downloadable snapshot and report each question’s own denominator; we can't reconstruct an unpublished exclusion rule from it.
Common questions
- How many developers use R?
- In the 2025 Stack Overflow sample, 1,569 of 31,671 eligible respondents reported R use, or 5.0%. This is a share of people who answered the relevant survey question. Recruitment was self-selected, so it doesn't give a total user count or a representative estimate for all developers.
- Which country uses R most?
- Mexico had the highest R share among the retained 2025 country samples, at 10.3%, compared with 0.0% in Slovakia. Each retained country had at least one hundred eligible answers. These are unweighted survey samples, so the comparison can't rank whole countries by workforce adoption or total users.
Cite this page
When you quote a finding, use this citation or link to this page.
The Work Gym (2026). R statistics: use, countries and companion tools. Updated November 21, 2026. https://theworkgym.com/r/statistics/
Download the data (CSV). One row per published figure, with its source and the day we read it.