Why use R when you have Tableau? Tableau vs. R?

June 21, 2014
By

(This article was first published on R – nandeshwar.info, and kindly contributed to R-bloggers)

I have seen many discussions around Tableau Vs. R. Here are my thoughts on this topic. Tableau is a fantastic tool for pattern discovery using data visualization. It is usually my tool of choice when I want throw some data and keep playing with the data to see whether any patterns emerge. Learning and using Tableau is a very low time consuming activity, but you could keep playing with the data and nothing might emerge.

Whereas, R has a very steep learning curve; any investment you make in R, however, will be returned with significant rewards. R is easily more than a programming language; it is almost a whole framework. You have access to countless libraries (from data manipulation to data visualization to machine learning to financial analysis to interactive Google charts to text mining to web apps).

Why learn R?

If very few people are using R around you, then it is more the reason to learn R, because soon you’ll be wowing them (and future employers) with your skills. Remember: if something is easy to do, everybody is doing that thing; you will become indistinct by becoming a commodity. Better, become indispensable.

As as example of R’s power, consider this report that I created in R. It is reporting an inclination score (generated using R), showing sparklines (again R), getting data from SQL Server data warehouse, and then repeating the analysis for every region and every capacity range. More than 100s of nice looking pages within seconds.

Auto Reports using R Auto Reports using R

Auto Reports using R Auto Reports using R

If there were only two reasons to use R, I would say these: reproducibility and repeatability. You can do everything in R in one script and then come back to it after a few years still able to track your steps down.

As I see it, it is really not Tableau vs. R issue. They can be used together. For all Tableau’s promises, I believe that only few people actually use it for exploration and it becomes another reporting a.k.a BI tool. I use Tableau for exploring, finding quick patterns and then coding that in R to reproduce the patterns for all various combinations. You can quickly build dashboards together without actually thinking about the process or about your objective of actionable insights. In addition, since it is easy to create charts, there is a real danger of quickly creating many useless charts.

Here’s another example of R’s magic: a convex hull to cluster customers (so getting data, clustering, convex hull and mapping in one single script) to find regions with opportunity.

Convex Hull and Clusters Using R

Convex Hull and Clusters Using R

RStudio provides a nice interface and makes R very easy to use. RStudio supports Markdown which produces nice looking documents or HTML pages with the benefit of retaining all your code to reproduce all your numbers and graphs with newer data. One more advantage of Markdown: Markdown is very easy to learn.

If you want to create more controlled, beautiful looking documents, however, you can take the complicated, frustrating, yet rewarding route, and rely on knitr, LaTex/Sweave and RStudio.

In sum, R provides you with everything: data extraction, manipulation, analysis, visualization, and reporting. Don’t let the learning curve scare you; you are missing out if you are not using it.

The post Why use R when you have Tableau? Tableau vs. R? appeared first on nandeshwar.info.

To leave a comment for the author, please follow the link and comment on their blog: R – nandeshwar.info.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)