On Fri, May 4, 2012 at 3:37 PM, knavero <knav...@gmail.com> wrote: > "However, I do wonder why it still complains of the vector length even though > I nulled out the other columns. It's an interesting error to run into. > Probably looks at FUN before nulling out the other columns was my theory. " > > Referring to just a straight up read.zoo in this case ^ >
If you are referring to your pastebin code then the actual error that code similar to it gives is: > crac <- read.zoo(URL, skip = 1, header = TRUE, + colClasses = rep(c(NA, "numeric", "NULL"), c(1, 1, 3)), + FUN = chr, sep = ",") Error in read.zoo(URL, skip = 1, header = TRUE, colClasses = rep(c(NA, : index has bad entries at data rows: 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 and that is because there are empty values in the index field. -- Statistics & Software Consulting GKX Group, GKX Associates Inc. tel: 1-877-GKX-GROUP email: ggrothendieck at gmail.com ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.