R-alpha: "[.ts" in 0.60.1

Paul Gilbert pgilbert@bank-banque-canada.ca
Wed, 10 Dec 1997 10:40:32 -0500

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

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