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

From: Dieter Menne <dieter.menne_at_menne-biomed.de>
Date: Tue, 04 Nov 2008 18:34:01 +0000 (UTC)

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



R-help_at_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. 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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive