Great! Thank you
--
View this message in context:
http://r.789695.n4.nabble.com/a-question-about-read-table-with-or-without-read-table-urgent-tp2314423p2314450.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org
Hi, I've got a quite tricky question.
I have a txt file, named 'temp.txt', as the following:
snp1snp2snp3
AA 00 00
GG GG 00
00 AA 00
I want to read the file into R.
1) when I use 'read.table' without 'header=T' option,
be confusing to discover that you have factor rather than character data
in the data.frame. :)
--- On Thu, 8/5/10, karena dr.jz...@gmail.com wrote:
From: karena dr.jz...@gmail.com
Subject: [R] a question about 'read.table' with or without
'read.table'.(urgent)
To: r-help@r-project.org
Received
read.table(temp.txt,header=T,colClasses = character)
-
A R learner.
--
View this message in context:
http://r.789695.n4.nabble.com/a-question-about-read-table-with-or-without-read-table-urgent-tp2314423p2314445.html
Sent from the R help mailing list archive at Nabble.com.
4 matches
Mail list logo