On Fri, May 22, 2009 at 10:03 AM, Gabor Grothendieck <
ggrothendi...@gmail.com> wrote:

> Regarding division you could contribute that to the chron package.
> I've contributed a few missing items and they were incorporated.
>

Good to know.  Maybe I'll do that....


> Giving an error when it does not understand something would be
> dangerous as it could break much existing code so that would
> probably not be possible at this stage.


But would it break any existing *correct* code?  I find it hard to imagine
any cases where adding 1 hour of difftime to times("12:00:00") should return
1.5 days rather than 13:00:00.


> The idea of defaulting to internal representations is based on
> the idea that you get many features for free since the way the
> internal representations work gives the right answer in many
> cases.


I must admit I am rather shocked by this approach.  Getting something "for
free" is a bad bargain if what you get is nonsense.


> Its best to stick with the implicit philosophy that
> underlies a package.  If you want a different philosophy then
> its really tantamount to creating a new package.  I don't
> think that one is right and the other wrong but simply
> represent different viewpoints.
>

So you would defend the "viewpoint" that 1 hour is the same thing as 1 day?

             -s

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to