[R-SIG-Finance] can I 'attach' a zoo object?

Ajay Shah ajayshah at mayin.org
Tue May 25 17:12:19 CEST 2010


On Tue, May 25, 2010 at 11:05:15AM -0400, Gabor Grothendieck wrote:
> The majority of the time is taken by as.list.zoo, not by attach
> itself.  

I agree. I just wanted to say that with data frames, attach() is
free. With a zoo object, we're paying the cost of casting. So even
though the syntax is seductive and elegant, at an underlying level
there is a fundamental difference. (This happens often with R, it's
not unique to this situation).

-- 
Ajay Shah                                      http://www.mayin.org/ajayshah  
ajayshah at mayin.org                             http://ajayshahblog.blogspot.com
<*(:-? - wizard who doesn't know the answer.



More information about the R-SIG-Finance mailing list