?unlist
On Mon, Jul 14, 2008 at 11:49 AM, <naw3@duke.edu> wrote:
> Hi,
>
> 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?
>
> Thanks,
> -Nina
>
> ______________________________________________
> 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.
>
--
Let's not spend our time and resources thinking about things that are so
little or so large that all they really do for us is puff us up and make us
feel like gods. We are mammals, and have not exhausted the annoying little
problems of being mammals.
-K. Mullis
[[alternative HTML version deleted]]