[...]
The problem is that you have an n x 1 matrix as a time series. That _is_ somewhat silly, and avoiding that avoids the problem (and it does not occur in any of our test suites, unsurprisingly).
I think as.ts/ts ought to drop() such matrices.
Please don't! Functions that return qualitatively different values (e.g., different classes or number of dimensions) depending on input data values or lengths of dimensions lead to nasty surprises in automated analyses and simulations. This sort of thing might be nice for interactive use, but it makes robust programming difficult.
[...] -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
-- Tony Plate
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-devel