Re: [Rd] speeding up perception

2011-07-03 Thread ivo welch
thank you, simon.  this was very interesting indeed. I also now understand how far out of my depth I am here. fortunately, as an end user, obviously, *I* now know how to avoid the problem. I particularly like the as.list() transformation and back to as.data.frame() to speed things up without los

Re: [Rd] speeding up perception

2011-07-03 Thread Simon Urbanek
Robert, it's not the handling of row names per se that causes the slowdown, but my point was that if what you need is just matrix-like structure with different column types, you may want to use lists instead and for equal column types you're better of with a matrix. But to address your point,

Re: [Rd] speeding up perception

2011-07-03 Thread Robert Stojnic
Hi Simon, On 03/07/11 05:30, Simon Urbanek wrote: This is just a quick, incomplete response, but the main misconception is really the use of data.frames. If you don't use the elaborate mechanics of data frames that involve the management of row names, then they are definitely the wrong tool