Skip to content
Back to formatted view

Raw Message

Message-ID: <20100525151219.GM1575@ajay-shahs-macbook-pro.local>
Date: 2010-05-25T15:12:19Z
From: Ajay Shah
Subject: can I 'attach' a zoo object?
In-Reply-To: <AANLkTikdujolwN7u_57PI3lp3buY16lSQZE7w7xx4mi0@mail.gmail.com>

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.