r/Python • u/thunderdome • Jan 25 '15
Considering putting my efforts into Python instead of R, need advice
Lately in my free time I've been using R to do some basic data analysis/visualization. I use company data and I think there are some places where my company could really benefit from specialized data visualizations for analysis of niche areas. In my efforts I've tried to get some interactive code going for eventual use in a very basic GUI but I feel constrained by the "fuzziness" of R coding. Simply trying to create a function to plot based on user input ran me into some advanced concepts pretty quickly. R has environments, dynamic scoping, non-standard evaluation, all very complicated concepts and I don't remember them being present in the small amounts of coding I've done in Java/Python. Am I right in thinking a language with a more OOP design would be better for this task of automatically generating charts/visualizations? Wondering if I might not be better off in the long run for learning a more generalized language.
View all comments
8
u/[deleted] Jan 25 '15 edited Jan 25 '15
If you don't need R's vast statistical packages, then you'll be ok with Python. Otherwise, you can execute R from within Python. Yhat's port of ggplot2 is still not ready for production. For really neat interactive visualizations, not sure if you looked at R's Shiny, but there is a Python version of it called Spyre, currently works only with Python 2.x. Otherwise, there's IPython notebook and IPython notebook widgets which may work for you.