News for hackers. Stuff that matters.
Re:R is hot [pdf] by crayola on Friday January 25, 2013 @08:28AM (#5115249)
R has some spectacular libraries and a huge userbase among statisticians, so it is definitely a big actor. On the downside, the core team who manage it appear to be somewhat averse to making the language progress in meaningful ways. R is very slow, has difficulty handling large data, and is a source of many "wtf" moments (e.g. see "the R inferno"), even for advanced users. I think the best thing that could happen would be a mass migration of R users towards Clojure, Julia or (more realistically) Python, and an attempt to reproduce in that language the key packages that are R's main appeal at the moment (ggplot2 mostly).
Re:R is hot [pdf] by hudibras on Friday January 25, 2013 @09:52AM (#5115636)
The biggest problem R faces is the corrosive attitude the language developers and maintainers have towards the R community. The R core team sometimes seems openly hostile to users; instead of Benevolent-Dictator-for-Life, it's more of a military junta that suppresses the opposition.
Re:R is hot [pdf] by foobarqux on Friday January 25, 2013 @11:30AM (#5116203)
Where is this "R community" hiding? The IRC channel is essentially dead.
Re:R is hot [pdf] by noamross on Friday January 25, 2013 @02:28PM (#5117178)
You'll find a lot of them at http://www.r-bloggers.com/
Re:R is hot [pdf] by sonabinu on Friday January 25, 2013 @04:26PM (#5117738)
that is a great place to look for help
Re:R is hot [pdf] by hadley on Friday January 25, 2013 @12:02PM (#5116408)
You'll find the most active public R communities at stackoverflow and on the R-help mailing list.
Re:R is hot [pdf] by dfc on Friday January 25, 2013 @08:39AM (#5115297)
The R Inferno: http://www.burns-stat.com/pages/Tutor/R_inferno.pdf

Abstract: If you are using R and you think you're in hell, this is a map for you.

Re:R is hot [pdf] by hadley on Friday January 25, 2013 @09:11AM (#5115452)
I think the best thing that could happen would be the development of a competing R implementation. In my mind this would include the definition of a minimal R language implemented in something like Riposte (http://www.justintalbot.com/wp-content/uploads/2012/10/pact0...), and the majority of base code written either in R, or the sort of C++ that Rcpp makes very natural.
Re:R is hot [pdf] by chuckbone on Friday January 25, 2013 @12:04PM (#5116422)
The best thing that can happen to R would be to rewrite the parser in Haskell and make R a domain specific language. Leave the stats/R language to statisticians who originally designed R, and bring in the Comp Sci crowd to actually make a meaningful speedup.
Re:R is hot [pdf] by hadley on Friday January 25, 2013 @12:16PM (#5116489)
That's an unusual suggestion - I haven't heard anyone complain about R's parser before. It's also hard to argue that R is a DSL (at least in the spirit of http://en.wikipedia.org/wiki/Domain-specific_language). There are many features of R, features that make it particularly well suited to statistics and data analysis, that would be very difficult to reproduce in an embedded DSL (missing values are one particularly important example)
Re:R is hot [pdf] by simulate on Friday January 25, 2013 @03:53PM (#5117567)
Julia is meant to be a competitor to R. The Julia developer community have added dataframes to compete with R Datasets and packages.

See: http://docs.julialang.org/en/latest/packages/packagelist/?hi... and: http://docs.julialang.org/en/latest/packages/packagelist/?hi...

Re:R is hot [pdf] by saosebastiao on Friday January 25, 2013 @10:41PM (#5119135)
Interesting. First time I have heard of Riposte. It dousn't sound like a new language though, but rather a new runtime. Am I understanding incorrectly?
Re:R is hot [pdf] by dagw on Friday January 25, 2013 @08:39AM (#5115295)
https://github.com/ContinuumIO/Bokeh is an attempt to provide a ggplot equivalent in python.
Re:R is hot [pdf] by schabernakk on Friday January 25, 2013 @10:24AM (#5115805)
what advantages does this offer in comparison to matplotlib?

Are the points they describe (easy faceting, bulk application of aesthetic and visual parameters across categorical variables, pleasing default color palettes for categorical data, etc.) really that much of a pain point with matplotlib?

I used it for two or three projects but not really extensively and especially not for complex statistical plotting, thats why I ask.

Re:R is hot [pdf] by pwang on Friday January 25, 2013 @11:12AM (#5116063)
(Bokeh developer here)

The core goals of the project are to offer: interactive, easy-to-specify, powerful novel graphics, with good support for statistical plots, in a web browser. That's quite a handful of things to balance, but we are picking up the best ideas from already existing projects: matplotlib, chaco, ggplot, protovis, stencil. The project is still nacent but we have promising results so far. (For instance, here is an ipython notebook export with interactive ggplot-style faceted plots of a Pandas DataFrame: http://htmlpreview.github.com/?https://github.com/ContinuumI...)

This kind of composite plot is a one-liner in the grammar of graphics. It would be much more with Matplotlib or Chaco. There are also marvelous novel graphics that are possible with Protovis-style Marks & Glyphs: http://mbostock.github.com/protovis/ex/ Although these are technically possible with existing libraries, the amount of programming skill required to create them is outside the capability of most data analysts. Our goal with Bokeh is to make these all accessible to that larger audience.

Re:R is hot [pdf] by hadley on Friday January 25, 2013 @12:19PM (#5116502)
To add to pwang's comment, to me the problem with matplotlib is that it makes an assumption that I believe to be untrue: the majority of data analysis tasks only need a pre-set list of plots. In my experience, most data analysis tasks need some novel combination of existing components, that may not have a specific name (e.g. pie chart, bar chart).
Re:R is hot [pdf] by darkarmani on Friday January 25, 2013 @11:04AM (#5116010)
> what advantages does this offer in comparison to matplotlib?

"Although it is a Python library, its primary output backend is HTML5 Canvas."

Re:R is hot [pdf] by llamazv2 on Friday January 25, 2013 @08:51AM (#5115341)
Agreed. Ideally, a new language/api will emerge that learns from the successes and failures of R. Something that is designed to be used as it is used presently, that incorporates Hadley Wickham's ideas, that has a less quirky OOP system, and that is more readable.

Perhaps currying/function compositions could be encouraged to avoid(hard, to(read(nested, functions))). However, being unexperienced with currying/function compositions, I have no idea if that would complicate the language...

Re:R is hot [pdf] by hadley on Friday January 25, 2013 @09:08AM (#5115436)
You can already implement Curry in R: https://github.com/hadley/pryr/blob/master/R/curry.r :)
Re:R is hot [pdf] by sonabinu on Friday January 25, 2013 @09:25AM (#5115504)
agree that the change is slow, but R is increasingly finding a place in the world of large datasets. Check out these http://www.oracle.com/technetwork/database/options/advanced-...

http://www.revolutionanalytics.com/why-revolution-r/whitepap...