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 <dwinsem...@comcast.net>wrote: > > 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" "---" "00000000100010000000000000000000" >> "P18897" "---" "00000000000001000100000000000000" >> "Q62736" "---" "00001000001000000000001000000000" >> "P13589" "---" "00100000010000010000000000000000" >> >> When I read this the bitVec field is not read properly. Instead, the value >> showing is "Inf" . >> How should i read this file? as.is/colclasses field in read function is >> not >> helping me. >> > > "Not helping"? Show your code. > > > >> Is there any package that can do bitwise operation(and/or) on bitVectors. >> bitops seems to do that but I need output in bitvector format only. >> Thanks >> Fahim >> >> >> -- >> Fahim Mohammad >> Bioinforformatics Lab >> University of Louisville >> > > > David Winsemius, MD > West Hartford, CT > > -- Fahim Mohammad Bioinforformatics Lab University of Louisville Louisville, KY, USA Ph: +1-502-409-1167 [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list 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.