Skip to content
Back to formatted view

Raw Message

Message-ID: <9DDB15CF23B35C4CBED7DEB8C6B63A7396DB7B@SERVER1.distinctconsulting.ie>
Date: 2009-04-23T10:30:11Z
From: Bronagh Grimes
Subject: Aggregate Function
In-Reply-To: <9DDB15CF23B35C4CBED7DEB8C6B63A7396DB6F@SERVER1.distinctconsulting.ie>

Hi all,

I am currently carrying out the following aggregate function:

D2 <- with(D1,aggregate(COST, list(FRUIT, VEG),FUN="sum"))

The function is working fine but I am getting "sum" output in the
following format:

1.750623e+09

How can I re-format the output to look like 1750622640.7?

Many thanks in advance,
Bronagh