From jori@mey@ @ending from gm@il@com  Tue Jun 12 20:47:04 2018
From: jori@mey@ @ending from gm@il@com (Joris Meys)
Date: Tue, 12 Jun 2018 20:47:04 +0200
Subject: [Rd] 
 Date class shows Inf as NA; this confuses the use of is.na()
In-Reply-To: <23327.62641.524004.675246@stat.math.ethz.ch>
References: <CAGg4omXVJj3vnK1+Z4zaHeuQ5Q+GjsOcvY22D13-okpjzWCsuA@mail.gmail.com>
 <710BDF90-B13A-47CE-980B-9276293C7E45@llnl.gov>
 <CAGg4omUa-ZU5hrKzj1a6e154bTOCge_T8kahcwEzFSpPxXG3tg@mail.gmail.com>
 <CAO1zAVZ0Wwpqm75JGCNz1YVvBC2FSLL8byBEPLa1-7EQjP09UQ@mail.gmail.com>
 <CAO1zAVbD-aB-ou2Tef5C9bMnvCW8mi-4igmnera7T=AUj74-YA@mail.gmail.com>
 <5E75C482-6E29-4F57-A65A-424F9669CAC9@dans.knaw.nl>
 <CAMFmJsnvFTHPz_+zCaAfgFsDTRpgCpQyKNGtEZSFc_S9z8Q9YQ@mail.gmail.com>
 <DEC562CF-F198-4762-BA8F-D00178B7E9E0@dans.knaw.nl>
 <23327.62641.524004.675246@stat.math.ethz.ch>
Message-ID: <CAO1zAVbrSACzKS0+jqfrMEZmh7xMk5B98hi2dZUz0pECBRSdZQ@mail.gmail.com>

On Tue, Jun 12, 2018 at 6:28 PM, Martin Maechler <maechler at stat.math.ethz.ch
> wrote:

>
> I think we should allow 'year' to be "double" instead, and so it
> could also be +Inf or -Inf and we'd nicely cover
> the conversions from and to 'numeric' -- which is really used
> internally for dates and date-times in  POSIXct.
>
> Martin
>
>
That would be perfect and tackles both consistency with other formats and
the confusing print() output. I'm all for it.
Cheers
Joris



-- 
Joris Meys
Statistical consultant

Department of Data Analysis and Mathematical Modelling
Ghent University
Coupure Links 653, B-9000 Gent (Belgium)
<https://maps.google.com/?q=Coupure+links+653,%C2%A0B-9000+Gent,%C2%A0Belgium&entry=gmail&source=g>

-----------
Biowiskundedagen 2017-2018
http://www.biowiskundedagen.ugent.be/

-------------------------------
Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php

	[[alternative HTML version deleted]]



[Rd] Date class shows Inf as NA; this confuses the use of is.na()
Joris Meys