I'm getting the following error with rollmean from the zoo package:


> rollmean(x,k=20,align='right')Error in `colnames<-`(`*tmp*`, value = "T") :
  attempt to set colnames on object with less than two dimensions



x is originally a univariate timeSeries object that is coerced to zoo
via as.zoo.  I've used this before without incident.  What am I doing
wrong?  I'm on Windows-7 64 bit, R 64-bit v2.13.1.

Thanks.....John

	[[alternative HTML version deleted]]

