[R] Prevent read.table from converting "+" and "-" to 0

Daren Tan daren76 at hotmail.com
Tue Nov 4 15:08:12 CET 2008


I am using read.table("data.txt", sep="\t") to read in a tab-limited text file. However, two columns of data were read wrongly. read.table converts "+" and "-" in the two columns to 0. I have tried setting other parameters but to no avail. 

TIA
_________________________________________________________________
Get in touch with your inner athlete. Take the quiz.



More information about the R-help mailing list