News for hackers. Stuff that matters.
Re:Revolution R Open: The Enhanced Distribution of Open Sour... by mahmoudimus on Thursday October 16, 2014 @06:59PM (#8468384)
Can someone explain why R is preferred more than Python for modeling?

Is it just because of ggplot2?

Re:Revolution R Open: The Enhanced Distribution of Open Sour... by strontium_90 on Thursday October 16, 2014 @07:42PM (#8468557)
I prefer R because of the wide variety of statistical methods available in base R and CRAN. ggplot2 is nice, but having it in the same system as generalised additive models, robust regression, ARIMA and state-space time series modelling, GARCH packages, and a huge range of other statistical methods is very convenient.

My experience is that if there's a new statistical method developed, it will be often be implemented in R first. (This may be more true for statistical methods than machine learning or other fields).

I don't think there's quite such a wide range in the Python ecosystem yet (although it is rapidly growing, and is definitely a better choice for certain analytics situations).

None of this is to say that you necessarily lose anything other than convenience by using other languages eg Python for modelling.

Re:Revolution R Open: The Enhanced Distribution of Open Sour... by msherry on Thursday October 16, 2014 @07:36PM (#8468541)
My 2c is that R has a wealth of libraries and utilities (for statistics, machine learning, finance, etc.) that are not as easily available for other languages. Things like scikit-learn for Python close some of the gap, but looking at packages on http://cran.r-project.org/, it seems that Python might have some catching up to do.

I make no representation as to the quality of the libs available for R, as I don't have a whole lot of experience with it yet.

Re:Revolution R Open: The Enhanced Distribution of Open Sour... by epistasis on Friday October 17, 2014 @12:49AM (#8469460)
Quality is all over the map in R, but given the choice between an R library and a Python library for the same recently developed stats method, I would think that the R library has been more widely used, had more attention from experts, and is probably more robust.
Re:Revolution R Open: The Enhanced Distribution of Open Sour... by phloxicon on Friday October 17, 2014 @08:00AM (#8470473)
It's more about the libraries. It's hard to find a statistical method that doesn't have an R implementation. That said, the quality of these libraries can be very low.