[Rd] read.table() can't read in this table (But Splus can) (PR#9685)

From: <vax9000_at_gmail.com>
Date: Mon, 14 May 2007 23:41:01 +0200 (CEST)


Full_Name: vax, 9000
Version: 2.4.0, 2.2.1
OS: 2.4.0: Mac OS X; 2.2.1: Linux
Submission from: (NULL) (192.35.79.70)

To reproduce this bug, first go to the website "http://llmpp.nih.gov/DLBCL/" and download the 14.8M data set "Web Figure 1 Data file". The direct link is "http://llmpp.nih.gov/DLBCL/NEJM_Web_Fig1data". Save it as "datafile.txt"

Then, start R, type in command "x <- read.table("datafile.txt", header=TRUE, sep="\t")". The data has 7400 lines, but not all lines could be read in by R.

Easier test data set:
Use the command "head -n 100 datafile.txt > shortdatafile.txt" to extract the first 100 lines. The R command "x <- read.table("datafile.txt", header=TRUE, sep="\t")" could not read in even this 100 lines of data.

But Splus can, with the same command. What is wrong?



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 15 May 2007 - 06:48:30 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 15 May 2007 - 07:33:36 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.