Skip to content
Back to formatted view

Raw Message

Message-ID: <CAAmySGP2b8Gwe696-RNZ=m6J4sHd2jz3qtsaMm8N=A0_rJ3FOw@mail.gmail.com>
Date: 2012-02-29T02:59:32Z
From: R. Michael Weylandt
Subject: Error in read.table(file = file, header = header, sep = sep, quote = quote, : more columns than column names
In-Reply-To: <CAKx9SQnM0J3Zcyti6ReyKiHo3TGRmmsbnYKxgFhfviDSTDEnpw@mail.gmail.com>

What is initialCuratedDF? I'm not seeing it in any standard location
so there's no way to debug it...

Also see inline.

Michael

On Tue, Feb 28, 2012 at 2:41 PM, Ben Ganzfried <ben.ganzfried at gmail.com> wrote:
> Hey,
>
> I just googled my error and many things came up. ?I followed the leads and
> read the ?read.delim page; I tried changing header = TRUE, and row.names =
> TRUE-- but I've still been having trouble fixing it, so I would greatly
> appreciate any help you can provide. ?Here is my code:
>

PLEASE don't ever do this -- it's potentially very destructive to
anyone who tries to copy your script to help you.
David also mentioned this when you posted the same code ~ 6 months ago.

> ## rm(list=ls()) ## ALWAYS WRAP IN COMMENTS IF YOU ARE GOING TO INSIST ON INCLUDING IT
> source("../../functions.R")
>
> uncurated <- read.csv("../uncurated/GSE3141_full_pdata.csv", as.is
> =TRUE,row.names=1)
> celfile.dir <- "../../../DATA/GSE3141/RAW"
>
> ##initial creation of curated dataframe
> curated <- initialCuratedDF(rownames(uncurated),
> template.filename="template.csv")
>
>
> The error occurs when I run this line:
>> curated <- initialCuratedDF(rownames(uncurated),
> template.filename="template.csv")
> Error in read.table(file = file, header = header, sep = sep, quote = quote,
> ?:
> ?more columns than column name
>
>
> I would greatly appreciate any help.
>
> Thanks!
>
> Ben
>
> ? ? ? ?[[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.