[R] read.table with header and text data

Rich FitzJohn rich.fitzjohn at gmail.com
Wed Apr 6 23:58:35 CEST 2005


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




More information about the R-help mailing list