Skip to content
Back to formatted view

Raw Message

Message-ID: <04A705EB-D159-4D1E-BEC0-E0B220306C6D@gmail.com>
Date: 2011-07-12T02:51:27Z
From: Luca Meyer
Subject: R code not working under R version 2.13 for Mac
In-Reply-To: <CC6DCBF6-77BE-488C-85B5-7A3736F87ED2@xs4all.nl>

Thank you!
Luca

Il giorno 09/lug/2011, alle ore 20.13, Berend Hasselman ha scritto:

> 
> On 09-07-2011, at 19:12, Luca Meyer wrote:
> 
>> Thanks Jeff,
>> 
>> I have extracted the first 50 lines of the d4 data.frame and put them into the attached d4a.RData file. In case the list handler does not allow attachments I have uploaded a copy of the file onto my web site and it can be downloaded from: http://www.lucameyer.com/d4a.RData
>> 
>> Please notice that what I am trying to do is to aggregate over d4a$progetto and get a sum of d4a$ore. The error I get states:
>> 
>> Error in units == units[1L] : comparison between these types has not been implemented
>> 
>> Can you or anyone on the list spot what the matter could be for me? 
> 
> By trial and error 
> 
> aggregate(as.numeric(d4a$ore),list(d4a$progetto),sum)
> 
> 
> Berend
> 
>