[R] Help with an error message

From: <naw3_at_duke.edu>
Date: Mon, 14 Jul 2008 11:49:24 -0400


I am writing a very long program that deals with multiple large databases which often have missing data cells and other quirks. I've been testing it on small samples of the data so it doesn't take too long, but when I tried it using the real files, it ran for about a minute and then gave me this error message:

Error in matrix(unlist(value, recursive = FALSE, use.names = FALSE), nrow = nr, :
  length of 'dimnames' [2] not equal to array extent

I'm very new at R/computer science, so I have no clue what it means and I would greatly appreciate any info about why this is coming up and how to fix it. Is there a way to get R to tell me at which line it is encountering the problem? Also, what kinds of executions in my code could cause this problem? What should I be looking for in order to fix this?


R-help_at_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. Received on Mon 14 Jul 2008 - 15:56:24 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 14 Jul 2008 - 16:31:58 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive