That makes me wonder, if one could devise a function to check for common
reasons for this error and report them.

What do you think Erik (and other R users) ?
I mean, just going through the R-help list in search of this error - could
yield many common reasons to check for...

Tal

----------------Contact
Details:-------------------------------------------------------
Contact me: Tal.Galili@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
----------------------------------------------------------------------------------------------




On Thu, Feb 25, 2010 at 12:13 AM, Erik Iverson <eriki@ccbr.umn.edu> wrote:

> I had a comment character "#" in my header names earlier today that threw
> this error.
>
>
> Euphoria wrote:
>
>> Hi all! I am desperately trying to figure out the solution to this error,
>> but
>> nothing as of yet is working.
>> As noted in an earlier post I am using GenABEL.  In an attempt to read in
>> the phenotype file, in the format .dat, R keeps giving me the error "more
>> columns than column names"
>>
>> I have tried to read in the data without the headers; I have also tried to
>> trim the data to remove any trailing tabs or spaces but it doesn't solve
>> the
>> problem.  All missing values have been replaced with "NA", and all data
>> seems to have matching corresponding header value - each column has a
>> matching column name.
>>
>> What could be the possible underlying problem? I have tried to
>> problem-solve
>> but clearly I am at a loss. Thanks for your help!
>> Code:
>>  mix <- load.gwaa.data (phe = "Z:/CCFPhenotypesTAB.dat", gen =
>> "pedmap-0.raw", force = T)
>>
>
> ______________________________________________
> 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.
>

	[[alternative HTML version deleted]]

