News for hackers. Stuff that matters.
Re:The R learning curve by hadley on Friday February 08, 2013 @11:44AM (#5188706)
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 matrices in R is usually painful, and your life is much easier if you stick with data frames. (This is something that could be fixed in R by a package, but no one has done so yet)
Re:The R learning curve by pseut on Friday February 08, 2013 @04:55PM (#5190350)
> This is something that could be fixed in R by a package, but no one has done so yet

I'm curious about about what you mean by this. How would a single package fix that? And does "fix" mean to make matrices easier or to make dataframes more broadly effective?

Re:The R learning curve by hadley on Saturday February 09, 2013 @08:50AM (#5192511)
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 manipulation functions.
Re:The R learning curve by mbq on Saturday February 09, 2013 @02:50PM (#5193750)
I don't agree; the core of array paradigm is vectorisation, as started in APL and continuing in Fortran, J, K, lush or R. The idea that it has something to do with matrix algebra is wrong -- MATrix LABoratory is simply an orthogonal story.
Re:The R learning curve by hadley on Sunday February 10, 2013 @10:31AM (#5196627)
Huh? I don't understand your point, e.g. I didn't mention matrix algebra.