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

Dieter Menne dieter.menne at menne-biomed.de
Tue Nov 4 19:34:01 CET 2008


Daren Tan <daren76 <at> hotmail.com> writes:

> 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. 

Looks like 

http://article.gmane.org/gmane.comp.lang.r.general/112819

which was corrected by Brian Ripley a few hours after being reported.

Dieter



More information about the R-help mailing list