Thank you. I ended up converting the excel file to a csv file and using
mytable<-read.csv(myfile, header=T)
and it worked so I abandoned using the tab delimited txt file.

On Wed, Feb 20, 2013 at 9:29 PM, Jim Lemon <j...@bitwrit.com.au> wrote:

> On 02/21/2013 07:10 AM, Joanna Papakonstantinou wrote:
>
>> Some of the names in the columns actually have spaces in them (e.g., S L
>> TX
>> is in one column). So there are really 9.
>> I was able to save the file as a csv file and read.table succesfully.
>>
>>  Hi Joanna,
> As you specified space (" ") as the field delimiter in your initial post,
> fields with spaces would be read as multiple fields, forcing the first
> column to be read as row names. I suspect that you changed the delimiter or
> that read.csv treats this differently from read.delim. I recall having to
> specify something about row names with read.delim once.
>
> Jim
>
>


-- 
******************************************************************


*Joanna Papakonstantinou, Ph.D.*

        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to