Re: [R] Error in read.table

2013-07-11 Thread Jannetta Steyn
I'll post the rephrasing of the question as a new thread. I hope that is okay. On 11 July 2013 13:40, Jannetta Steyn wrote: > > > Maybe I should rephrase my question. What would be the best way to read a > list of filenames and headings from a csv file? > > The CSV file is structured as two col

Re: [R] Error in read.table

2013-07-11 Thread peter dalgaard
On Jul 11, 2013, at 13:50 , Dante.py wrote: > Maybe you should set parameter "as.is" in read.csv to be false. TRUE more likely... However, there's another issue: files[i,] is a data frame, therefore so is f[1] (a telltale sign is that it has rows and column labels). So f[[1]] is probably neede

Re: [R] Error in read.table

2013-07-11 Thread Dante.py
Maybe you should set parameter "as.is" in read.csv to be false. 2013/7/11 Jannetta Steyn > Hi Folks > > I can't see what I have done wrong in this piece of code. > > # Read filenames from csv file > files <- read.csv(file="files.csv",head=FALSE,sep=",") > > # for each filename read the file > f

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

2012-02-28 Thread R. Michael Weylandt
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 wrote: > Hey, > > I just googled my error and many things came up.  I followed the leads and > read the ?read.delim page;