> On 26 Jan 2015, at 23:10 , Duncan Murdoch <murdoch.dun...@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....@cbs.dk  Priv: pda...@gmail.com

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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