Re: [R] read.table with header and text data

From: Rich FitzJohn <rich.fitzjohn_at_gmail.com>
Date: Thu 07 Apr 2005 - 07:58:35 EST

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

Cheers,
Rich

On Apr 7, 2005 9:55 AM, Laura Holt <lauraholt_983@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@hotmail.com
> R 2.0.1 Windows
>
> ______________________________________________
> R-help@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

______________________________________________
R-help@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
Received on Thu Apr 07 08:04:58 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:02 EST