Re: [R] Reading in a tab delimitated file

2010-10-26 Thread amindlessbrain
"A call to read.table(..., sep = "", ...) reads in any length of whitespace as the delimiter. On your sample text it read in a 2 column dataframe. " Thanks! That works for the file, but when I enter in my next line of code it doesn't work. I'm not sure if this is the problem, or if the next line

Re: [R] Reading in a tab delimitated file

2010-10-26 Thread amindlessbrain
If I try that I get this: Error in scan(file, what = "", sep = sep, quote = quote, nlines = 1, quiet = TRUE, : invalid 'sep' value: must be one byte ? -- View this message in context: http://r.789695.n4.nabble.com/Reading-in-a-tab-delimitated-file-tp3013620p3013771.html Sent from the R he

[R] Reading in a tab delimitated file

2010-10-26 Thread amindlessbrain
Hi all, I have a total newbie question, but I could really use some help. I need to read in this file: SampleIDDisease E-CBIL-28-raw-cel-1435145228.cel1 E-CBIL-28-raw-cel-1435145451.cel2 E-CBIL-28-raw-cel-1435145479.cel2 E-CBIL-28-raw-cel-143514513