Skip to content
Back to formatted view

Raw Message

Message-ID: <5934ae57050406145839e55096@mail.gmail.com>
Date: 2005-04-06T21:58:35Z
From: Rich FitzJohn
Subject: read.table with header and text data
In-Reply-To: <BAY10-F21C2E59301DFB2779EEA08D63D0@phx.gbl>

See ?read.table, especially the argument "as.is".

Cheers,
Rich

On Apr 7, 2005 9:55 AM, Laura Holt <lauraholt_983 at hotmail.com> wrote:
> Hi R!
> 
> I am reading in a text file which has one column of alpha data and 5 columns
> of numeric data.
> 
> There is a header row.
> 
> I would like the alpha data column to just be character rather than factor.
> 
> Is there a way to do this, please?  I'm thinking that it might be I() but
> can't figure out exactly how.
> 
> Thanks,
> Laura
> mailto: lauraholt_983 at hotmail.com
> R 2.0.1 Windows
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 


-- 
Rich FitzJohn
rich.fitzjohn <at> gmail.com   |    http://homepages.paradise.net.nz/richa183
                      You are in a maze of twisty little functions, all alike