Re: [R] Help with an error message

From: stephen sefick <ssefick_at_gmail.com>
Date: Mon, 14 Jul 2008 11:54:07 -0400

?unlist

On Mon, Jul 14, 2008 at 11:49 AM, <naw3_at_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_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.
>

-- 
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]]

______________________________________________
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 - 16:13:53 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