[R] read.table - replaces 'T' with 'TRUE'

Brian Smith bsmith030465 at gmail.com
Tue Jan 27 12:11:40 CET 2015


Thanks!!

On Mon, Jan 26, 2015 at 5:23 PM, peter dalgaard <pdalgd at gmail.com> wrote:

>
> > On 26 Jan 2015, at 23:10 , Duncan Murdoch <murdoch.duncan at gmail.com>
> wrote:
> >
> > read.table(<other args as before>, colClasses = "character")
> >
> > (You might want "factor" instead of character.)
>
> Or maybe not. I'd expect trouble with getting the levels set to
> c("C","A","G","T") for all columns.
>
> Is this always one single line of CGAT? If so, scan(file, what="") might
> be a more straightforward approach.
>
> --
> Peter Dalgaard, Professor,
> Center for Statistics, Copenhagen Business School
> Solbjerg Plads 3, 2000 Frederiksberg, Denmark
> Phone: (+45)38153501
> Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com
>
>
>
>
>
>
>
>
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list