I am still struggling with broken libraries after the changes in lists
in 0.63 (as is my son who says he has abandoned lists altogether!).
  A user can supply a vector (say one time series), a matrix (several
series as balanced repeated measures), or a list (unbalanced repeated
measures).  I used to check with is.vector, is.matrix, and
is.list. This no longer works because a list is now a vector. The
vector must allow calculations so can be integer, double, or
logical. So I set the mode in is.vector. Try the following:

mode(c(23,42))
is.vector(c(23,42),mode="numeric")
is.vector(c(23,42),mode=c("integer","double","logical"))

Of course, in 0.62.4, things were no more coherent than this;

is.vector(list(1))
is.vector(list(1),mode="list")

Jim
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

