From edd at debian.org  Tue Sep 23 17:25:59 2008
From: edd at debian.org (Dirk Eddelbuettel)
Date: Tue, 23 Sep 2008 10:25:59 -0500
Subject: [Rd] Dates in C api
In-Reply-To: <575EAD86322DA342B50FE422364A9F52084BA34D@NYWEXMB27.msad.ms.com>
References: <575EAD86322DA342B50FE422364A9F52082D528B@NYWEXMB27.msad.ms.com>
	<e8e755250809171319h15fc8461yfd5c7ab1531ad89e@mail.gmail.com>
	<575EAD86322DA342B50FE422364A9F52084BA34D@NYWEXMB27.msad.ms.com>
Message-ID: <18649.2695.232428.908026@ron.nulle.part>


On 22 September 2008 at 15:41, Lee, Philip \(IT\) wrote:
| r-devel,
| 
| One other question just occurred to me - does R have any concept of
| times alone?  I can see that there's dates, and datetimes (POSIXct etc),
| but how should I represent 12:34:56 as just a time?

AFAIK you cannot as there is no such type. You could of course create one.

We just had that come up in RPostgreSQL as SQL has 'time' but R doesn't. So
we return SQL columns of type time as characters. RODBC does the same. If
there is a better way, someone tell us

By the way, you may find the manuals at 

	http://cran.us.r-project.org/manuals.html

of value, in particular the 'R Internal' and 'R language definition'.

Dirk

-- 
Three out of two people have difficulties with fractions.



[Rd] Dates in C api
Dirk Eddelbuettel