From pgilbert@bank-banque-canada.ca  Wed Dec 10 15:40:32 1997
From: pgilbert@bank-banque-canada.ca (Paul Gilbert)
Date: Wed, 10 Dec 1997 10:40:32 -0500
Subject: R-alpha: "[.ts" in 0.60.1
Message-ID: <97Dec10.141431est.27328@mailgate.bank-banque-canada.ca>

I have a class "tframe" with more specific classes indicating how time is being
represented, such as

> class(tframe(data))
[1] "ts"     "tframe"

but now "[.ts" produces warning messages

> tframe(data)[2]
Warning: Not returning a time series object
[1] 2006.25

Even my simplest tests produce hundreds of lines of warnings, so I've commented
out the line
#                        warning("Not returning a time series object")
in "[.ts". I'm not sure if this is the best solution, but something is
necessary.

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._








R-alpha: "[.ts" in 0.60.1
Paul Gilbert