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

From: Dieter Menne <>
Date: Tue, 04 Nov 2008 18:34:01 +0000 (UTC)

Daren Tan <daren76 <at>> 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

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

Dieter mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue 04 Nov 2008 - 19:03:54 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 04 Nov 2008 - 19:30:25 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive