Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hadley
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
271.
▲
by
hadley
14y ago
The second link is relevant but only speaks to the performance of the language, which is something fixable in the implementation. Personally, I think the R language is pretty nice, and well suited to its domain. It has first-class function
272.
▲
by
hadley
14y ago
Huh? I don't understand your point, e.g. I didn't mention matrix algebra.
273.
▲
by
hadley
14y ago
The problem isn't with the underlying data structures, it's with the methods that have been implemented for them. A package would fix the problem by fleshing out r with a decent set of consistently named and parameterised matrix manipulatio
274.
▲
by
hadley
14y ago
There's an important difference between matlab and R: in matlab matrices & arrays are the most important data structure, while in R data frames are the most important. There is no "array language" underlying R - working with arrays and
275.
▲
by
hadley
14y ago
I think as I flush out the functional programming and computing on the language sections, those techniques underlying ggplot2 and plyr should become more obvious. I like the idea of case studies on more complex packages, but I don't know i
276.
▲
by
hadley
14y ago
I'd appreciate any comments on https://github.com/hadley/devtools/wiki - it's my attempt to teach R like a programming language, focussing on cross-cutting concerns and general concepts. It's still a work i progress, so your feedback can
277.
▲
by
hadley
14y ago
The cookbook is now an O'Reilly book: http://amzn.com/1449316956
278.
▲
by
hadley
14y ago
With 50,000 rows plyr should be fine, and I've tested it up to 1,000,000 and it's reasonably. The problem is more that it doesn't scale terribly well in the number of groups.
279.
▲
by
hadley
14y ago
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
280.
▲
by
hadley
14y ago
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
281.
▲
by
hadley
14y ago
You'll find the most active public R communities at stackoverflow and on the R-help mailing list.
282.
▲
by
hadley
14y ago
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-c
283.
▲
by
hadley
14y ago
You can already implement Curry in R: https://github.com/hadley/pryr/blob/master/R/curry.r :)
284.
▲
by
hadley
14y ago
But it's for only rails applications? Only for web applications? Only for ruby applications?
285.
▲
by
hadley
14y ago
Ah, that makes sense. Thanks!
286.
▲
by
hadley
14y ago
The split-apply-combine framework dealing with group by tasks ( http://www.jstatsoft.org/v40/i01/paper , not that there aren't other precedents) for one. But generally, Wes has used R to figure out what people want to do, and then ported a
287.
▲
by
hadley
14y ago
Would love to hear what you find most painful about data munging/wrangling and unit testing. It's something that I've been trying to improve in R (e.g. http://vita.had.co.nz/papers/tidy-data.html and http://journal.r-project.org/archive
288.
▲
by
hadley
14y ago
Can you give an example where the confusion between a scalar and a length one vector is important? I'm trying to figure out how to better teach R to people familiar with other languages and understanding your stumbling blocks would be v. he
289.
▲
by
hadley
14y ago
Are you using Pandas? If so, your comment would be ironic because pandas borrows heavily from R ;)
290.
▲
by
hadley
14y ago
Have you experimented with topologically consistent simplification? In my experience, that's the hard part - otherwise when simplifying (e.g.) state borders, the borders no longer match up.
291.
▲
by
hadley
15y ago
I think you want ggplot2 and reshape2 ;)
292.
▲
by
hadley
15y ago
Yes, a python version of ggplot2 is well overdue!
293.
▲
by
hadley
15y ago
But many state schools let you join the library even if you're not a student. e.g. http://www.lib.iastate.edu/info/6197 - $20/year for a non-affiliated member.
294.
▲
by
hadley
15y ago
Many university libraries allow to you join as a "friend" of the library, which typically costs ~$100/year and gives you full access to all library resources.
295.
▲
by
hadley
15y ago
Or D3, the child of protovis and SVG.
296.
▲
by
hadley
16y ago
R!
297.
▲
by
hadley
16y ago
Would love to know why you think R isn't a "real" language.
298.
▲
by
hadley
16y ago
I really don't get where this too many data types canard comes from - all you need to know is vector, matrix, array (1d, 2d, and nd homogeneous data types) and list and data frame (1d and 2d heterogeneous data types). On the other hand, th
299.
▲
by
hadley
16y ago
It seems that way on the surface, but their are a lot of subtleties to R (lazy evaluation of function arguments, access to both static and dynamic scope) that would make implementation in another language difficult. R has many features tha
300.
▲
by
hadley
16y ago
And this isn't just a hypothetical example - it has happened and has affected the results of important medical studies.
More ›