Re: [R] problem reading file containing bit vector

2011-01-30 Thread jim holtman
I think you want to make sure you read it is as character: > x <- read.table(textConnection('"swissProtID""entrezID""bitVec" + "Q62924" "---""10001000" + "P18897" "---""01000100" + "Q62736" "---"

Re: [R] problem reading file containing bit vector

2011-01-30 Thread Fahim M
Its working now. I was missing something. dataFile = read.table("./Data/occTable.csv", sep ='\t', header=TRUE, colClasses = "character"); i=1 x = dataFile[i,]; x Thanks a lot. On Sun, Jan 30, 2011 at 12:25 PM, David Winsemius wrote: > > On Jan 30, 2011, at 12:22 PM, Fahim M wrote: > > Hi I

Re: [R] problem reading file containing bit vector

2011-01-30 Thread David Winsemius
On Jan 30, 2011, at 12:22 PM, Fahim M wrote: Hi I have a tab delimited file with fillowing content: "swissProtID""entrezID""bitVec" "Q62924" "---""10001000" "P18897" "---""01000100" "Q62736" "--

[R] problem reading file containing bit vector

2011-01-30 Thread Fahim M
Hi I have a tab delimited file with fillowing content: "swissProtID""entrezID""bitVec" "Q62924" "---""10001000" "P18897" "---""01000100" "Q62736" "---""10100010" "P13589"