So you want to learn data skills. That’s great! But we offer tons of data science courses. Why should you learn R specifically? Would it be better to learn Python?
If you really want to dig into that question, we’ve demonstrated Python vs. R to show how each language handles common data science tasks. And while the the bottom line is that each language has its own strengths, and both are great choices for data science, R does have unique strengths that are worth considering!
6 Reasons Why You Should Learn R
It’s built for statistics: R was originally designed by statisticians for doing statistical analysis, and it remains the programming choice of most statisticians today. R’s syntax makes it easy to create complex statistical models with just a few lines of code. Since so many statisticians use and contribute to R packages, you’re likely to be able to find support for any statistical analysis you need to perform.
It’s a popular language for data science at top tech firms. Almost all of them hire data scientists who use R. Facebook, for example, uses R to do behavioral analysis with user post data. Google uses R to assess ad effectiveness and make economic forecasts. Twitter uses R for data visualization and semantic clustering. Microsoft, Uber, AirBnb, IBM, HP – they all hire data scientists who can program in R.
And by the way, it’s not just tech firms: R is in use at analysis and consulting firms, banks and other financial institutions, academic institutions and research labs, and pretty much everywhere else data needs analyzing and visualizing. Even the New York Times uses R!
Learning the data science basics is arguably easier in R. Python may be one of the most beginner-friendly programming languages, but once you get past the syntax, R has a big advantage: it was designed specifically with data manipulation and analysis in mind. Because of that, learning the core skills of data science – data manipulation, data visualization, and machine learning – can actually be easier in R once you’ve gotten through the basic fundamentals. Check out, for example, how straightforward it is to create these common data visualization styles in R.
Amazing packages that make your life easier. Because R was designed with statistical analysis in mind, it has a fantastic ecosystem of packages and other resources that are great for data science. The dplyr package, for example, makes data manipulation a breeze, and ggplot2 is a fantastic tool for data visualization. And that’s really just the tip of the iceberg.
Robust, growing community of data scientists and statisticians. As the field of data science has exploded, R has exploded with it, becoming one of the fastest-growing languages in the world (as measured by StackOverflow). That means it’s easy to find answers to questions and community guidance as you work your way through projects in R. And because there are so many enthusiastic R users, you can find R packages integrating almost any app you can think of!
Put another tool in your toolkit. Even if you’re already a Python expert, no one language is going to be the right tool for every job. Adding R to your repertoire will make some projects easier – and of course, it’ll also make you a more flexible and marketable employee when you’re looking for jobs in data science.
Long story short: there are lots of great reasons why you should learn R, because it's a fantastic language for data science.
I needed a resource for beginners; something to walk me through the basics with clear, detailed instructions. That is exactly what I got in Dataquest’s Introduction to R course.
Because of Dataquest, I started graduate school with a strong foundation in R, which I use every day while working with data.
Ryan Quinn - Doctoral Student at Boston University
Rose is a data scientist, educator, and ecologist. She loves learning new things, spending time outside, and her dog, Mr. Darwin