From pgilbert@bank-banque-canada.ca  Fri Aug  6 19:35:14 1999
From: pgilbert@bank-banque-canada.ca (Paul Gilbert)
Date: Fri, 06 Aug 1999 14:35:14 -0400
Subject: ts and defaults
Message-ID: <37AB2AE2.1DA7D784@bank-banque-canada.ca>

Brian

The example below may be helpful to further illustrate the concern I have with
the effects of your ts library on defaults. According to the "Blue Book", in
Splus, in R up to 0.64.2, and in today's snapshot of 0.65 without the "ts"
library attached

> end(ts(rnorm(10), start=c(1991,1), frequency=1))

gives
[1] 2000    1

However, with the "ts" library attached the result is

[1] 2000

This change in the default behavior will break a lot of user code, effectively
meaning that many people who do a lot of time series work will not use the
library. Hopeful that is not what you intend. Even casual users, I believe, will
be confused by the change in behavior depending on whether  ts is attached or
not.

Possibly a much better way to define a new improved class is to give it a new
name, rather than a name that introduces conflicts with the old defaults.

I hope that you will have time to consider changing this before 0.65 is
released. I will be away for the next two week, but will be happy to continue
testing when I return.

Paul Gilbert



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


ts and defaults
Paul Gilbert