vax9000 at gmail.com
2007-May-14 21:41 UTC
[Rd] read.table() can't read in this table (But Splus can) (PR#9685)
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?