[R] Error in read.table(file = file, header = header, sep = sep, quote = quote, : more columns than column names

From: Ben Ganzfried <ben.ganzfried_at_gmail.com>
Date: Tue, 28 Feb 2012 14:41:05 -0500


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:

rm(list=ls())
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. Received on Tue 28 Feb 2012 - 19:44:58 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

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 Wed 29 Feb 2012 - 03:40:16 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