Samuel Edusa MD
Why I learned R (and why you might want to)
Samuel Edusa | Dec 24, 2022
(Source: Thinkstock)
I picked up R because I needed better tools for working with data. As a software engineer, I'd been doing data analysis in other languages, but R kept coming up in conversations with researchers and data scientists. So I finally gave it a shot.
What sold me was how straightforward it is for data exploration and visualization. The package ecosystem (ggplot2, dplyr, tidyr) makes it easy to go from raw data to a clean chart in a few lines of code. I spend a lot of time exploring and manipulating datasets, and R just handles that well.
R is also the go-to language for statistical analysis. If you need to run regressions, ANOVA, or hypothesis tests, the tools are already there. I didn't have to build anything from scratch or hunt for third-party libraries.
The other thing I noticed is that R shows up everywhere in academia and industry. Learning it opened up collaboration opportunities with people I wouldn't have been able to work with otherwise. And because R is built around reproducible research, sharing your data, code, and results with collaborators is built into the workflow.
Why you might want to learn R:
- Data analysis and visualization: The package ecosystem for importing, cleaning, and visualizing data is mature and well-maintained. If you work with data regularly, R makes a lot of tasks easier.
- Statistical analysis: Regression, ANOVA, hypothesis testing, and more are all available out of the box. R was built by statisticians, and it shows.
- Reproducible research: R Markdown and similar tools make it easy to bundle your data, code, and results into a single shareable document. This is especially useful for research projects.
- Used across academia and industry: Knowing R opens doors to collaborating with researchers and data teams who already use it as their primary tool.
If you work with data in any capacity, R is worth learning. It took me a couple of weeks to get comfortable with it, and it's been useful ever since.
